Skip to content

Commit

Permalink
Fix yet another ctx template bug (go-gitea#27417) (go-gitea#27426)
Browse files Browse the repository at this point in the history
Backport go-gitea#27417 by @delvh

Fixes go-gitea#27416

Co-authored-by: delvh <[email protected]>
  • Loading branch information
GiteaBot and delvh authored Oct 4, 2023
1 parent 1dd84ec commit 99e2071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shared/user/profile_big_avatar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<li>
<ul class="user-orgs">
{{range .Orgs}}
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
<li>
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
{{ctx.AvatarUtils.Avatar .}}
Expand Down

0 comments on commit 99e2071

Please sign in to comment.