Skip to content

Commit 9e194f6

Browse files
committed
Revert "Fix yet another ctx template bug (go-gitea#27417) (go-gitea#27426)"
This reverts commit 99e2071.
1 parent 44aca6a commit 9e194f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/user/profile_big_avatar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<li>
8484
<ul class="user-orgs">
8585
{{range .Orgs}}
86-
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
86+
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
8787
<li>
8888
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
8989
{{ctx.AvatarUtils.Avatar .}}

0 commit comments

Comments
 (0)