diff options
author | Unknwon <u@gogs.io> | 2016-01-14 21:29:25 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-14 21:29:25 +0800 |
commit | dccfadf7b80b0b59e28dd64f71560a3dd82a424c (patch) | |
tree | f7220faddf01d9494fe6b783b2e84d8487bdbc05 /templates/user | |
parent | d1675c2701323a0946b00a4ba5ba076bbb83d984 (diff) | |
download | gitea-dccfadf7b80b0b59e28dd64f71560a3dd82a424c.tar.gz gitea-dccfadf7b80b0b59e28dd64f71560a3dd82a424c.zip |
hide section with user has no organizations
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/profile.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 6591b45491..410aef797a 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -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}} |