diff options
author | delvh <dev.lh@web.de> | 2023-10-04 04:11:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 04:11:01 +0200 |
commit | 112f37c54658427b69012ce94eb0f0fe7d7806a4 (patch) | |
tree | e7433621c9e5d136382348dfadd75e155660fd4d | |
parent | Add Index to `action.user_id` (#27403) (diff) | |
download | forgejo-112f37c54658427b69012ce94eb0f0fe7d7806a4.tar.xz forgejo-112f37c54658427b69012ce94eb0f0fe7d7806a4.zip |
Fix yet another `ctx` template bug (#27417)
Fixes #27416
-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 .}} |