hide section with user has no organizations
This commit is contained in:
parent
d1675c2701
commit
dccfadf7b8
1 changed files with 2 additions and 0 deletions
|
@ -57,11 +57,13 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
*/}}
|
*/}}
|
||||||
|
{{if .Orgs}}
|
||||||
<li>
|
<li>
|
||||||
{{range .Orgs}}
|
{{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>
|
<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}}
|
{{end}}
|
||||||
</li>
|
</li>
|
||||||
|
{{end}}
|
||||||
{{if and .IsSigned (ne .SignedUserName .Owner.Name)}}
|
{{if and .IsSigned (ne .SignedUserName .Owner.Name)}}
|
||||||
<li class="follow">
|
<li class="follow">
|
||||||
{{if .SignedUser.IsFollowing .Owner.Id}}
|
{{if .SignedUser.IsFollowing .Owner.Id}}
|
||||||
|
|
Loading…
Reference in a new issue