diff options
author | delvh <dev.lh@web.de> | 2023-10-04 04:11:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 02:11:01 +0000 |
commit | 112f37c54658427b69012ce94eb0f0fe7d7806a4 (patch) | |
tree | e7433621c9e5d136382348dfadd75e155660fd4d /templates/shared/user | |
parent | 4636f56e7b519ec74f15f0cfd6ef4a428088a960 (diff) | |
download | gitea-112f37c54658427b69012ce94eb0f0fe7d7806a4.tar.gz gitea-112f37c54658427b69012ce94eb0f0fe7d7806a4.zip |
Fix yet another `ctx` template bug (#27417)
Fixes #27416
Diffstat (limited to 'templates/shared/user')
-rw-r--r-- | templates/shared/user/profile_big_avatar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl index 598c194f19..47db7e23a6 100644 --- a/templates/shared/user/profile_big_avatar.tmpl +++ b/templates/shared/user/profile_big_avatar.tmpl @@ -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 .}} |