Browse Source

hide section with user has no organizations

master
Unknwon 9 years ago
parent
commit
dccfadf7b8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      templates/user/profile.tmpl

+ 2
- 0
templates/user/profile.tmpl 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}}


Loading…
Cancel
Save