diff options
author | delvh <dev.lh@web.de> | 2023-10-06 14:47:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 20:47:45 +0800 |
commit | 9207331f4dad9ac767915b8abc7a119d5d6bce1c (patch) | |
tree | 916fd93a27d12b6e7a713271d756eaa55d5c4be1 | |
parent | 44aca6a65a7c1765a765560e57e77be49ebec548 (diff) | |
download | gitea-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.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 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 .}} |