aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelvh <dev.lh@web.de>2023-10-06 14:47:45 +0200
committerGitHub <noreply@github.com>2023-10-06 20:47:45 +0800
commit9207331f4dad9ac767915b8abc7a119d5d6bce1c (patch)
tree916fd93a27d12b6e7a713271d756eaa55d5c4be1
parent44aca6a65a7c1765a765560e57e77be49ebec548 (diff)
downloadgitea-9207331f4dad9ac767915b8abc7a119d5d6bce1c.tar.gz
gitea-9207331f4dad9ac767915b8abc7a119d5d6bce1c.zip
Revert #27426 (#27474)
Apparently, we didn't backport one of the refactoring PRs which caused the fixup we backported to fail. Fixes: https://github.com/go-gitea/gitea/issues/27473
-rw-r--r--templates/shared/user/profile_big_avatar.tmpl2
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 47db7e23a6..598c194f19 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 ctx $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
+ {{if (or .Visibility.IsPublic (and ($.SignedUser) (or .Visibility.IsLimited (and (.HasMemberWithUserID $.SignedUserID) .Visibility.IsPrivate) ($.IsAdmin))))}}
<li>
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
{{ctx.AvatarUtils.Avatar .}}