mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 06:39:33 +01:00
parent
4636f56e7b
commit
112f37c546
@ -83,7 +83,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<ul class="user-orgs">
|
<ul class="user-orgs">
|
||||||
{{range .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>
|
<li>
|
||||||
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
|
<a href="{{.HomeLink}}" data-tooltip-content="{{.Name}}">
|
||||||
{{ctx.AvatarUtils.Avatar .}}
|
{{ctx.AvatarUtils.Avatar .}}
|
||||||
|
Loading…
Reference in New Issue
Block a user