Skip to content

Commit 99e2071

Browse files
GiteaBotdelvh
andauthored
Fix yet another ctx template bug (#27417) (#27426)
Backport #27417 by @delvh Fixes #27416 Co-authored-by: delvh <dev.lh@web.de>
1 parent 1dd84ec commit 99e2071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/user/profile_big_avatar.tmpl

+1-1
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)