Reverted showing (private) on private org relations

tokarchuk/v1.17
ExMex 9 years ago
parent 2cfe6f8c60
commit 40f9d4f920
  1. 6
      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}}

Loading…
Cancel
Save