Skip to content

Commit 4486428

Browse files
delvhGiteaBot
authored andcommitted
Fix yet another ctx template bug (go-gitea#27417)
Fixes go-gitea#27416
1 parent 881a844 commit 4486428

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 $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
86+
{{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
8787
<li>
8888
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
8989
{{ctx.AvatarUtils.Avatar .}}

0 commit comments

Comments
 (0)