Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00

hide section with user has no organizations

This commit is contained in:
Unknwon 2016-01-14 21:29:25 +08:00
parent d1675c2701
commit dccfadf7b8

View file

@ -57,11 +57,13 @@
</a>
</li>
*/}}
{{if .Orgs}}
<li>
{{range .Orgs}}
<a href="{{.HomeLink}}"><img class="ui mini image poping up" src="{{.AvatarLink}}" data-content="{{.Name}}" data-position="top center" data-variation="mini inverted"></a>
{{end}}
</li>
{{end}}
{{if and .IsSigned (ne .SignedUserName .Owner.Name)}}
<li class="follow">
{{if .SignedUser.IsFollowing .Owner.Id}}