summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorExMex <great.mafia2010@gmail.com>2016-02-07 20:30:15 +0100
committerExMex <great.mafia2010@gmail.com>2016-02-07 20:30:15 +0100
commit40f9d4f920c481db8dc8bf1a5b29c7005ea06f29 (patch)
treee47e08e7676eac86b08deea3fcf38e953ec4d3bb
parent2cfe6f8c60033989fa141b415080fc4416f03c5b (diff)
downloadgitea-40f9d4f920c481db8dc8bf1a5b29c7005ea06f29.tar.gz
gitea-40f9d4f920c481db8dc8bf1a5b29c7005ea06f29.zip
Reverted showing (private) on private org relations
-rw-r--r--templates/user/profile.tmpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 07f5c1b0e5..c037b0ad13 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -60,11 +60,7 @@
{{if .Orgs}}
<li>
{{range .Orgs}}
- {{if $.Owner.IsPublicMember .Id}}
- <a href="{{.HomeLink}}"><img class="ui mini image poping up" src="{{.AvatarLink}}" data-content="{{.Name}}" data-position="top center" data-variation="tiny inverted"></a>
- {{else}}
- <a href="{{.HomeLink}}"><img class="ui mini image poping up" src="{{.AvatarLink}}" data-content="{{.Name}} (Private)" data-position="top center" data-variation="tiny inverted"></a>
- {{end}}
+ <a href="{{.HomeLink}}"><img class="ui mini image poping up" src="{{.AvatarLink}}" data-content="{{.Name}}" data-position="top center" data-variation="tiny inverted"></a>
{{end}}
</li>
{{end}}