summaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/header.tmpl')
-rw-r--r--templates/org/header.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl
index 17cc58fcbb..e232726822 100644
--- a/templates/org/header.tmpl
+++ b/templates/org/header.tmpl
@@ -5,7 +5,10 @@
<div class="ui header">
<img class="ui image" src="{{.SizedRelAvatarLink 100}}">
<span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName}}</a></span>
-
+ <span class="org-visibility">
+ {{if .Visibility.IsLimited}}<div class="ui medium orange horizontal label">{{$.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
+ {{if .Visibility.IsPrivate}}<div class="ui medium red horizontal label">{{$.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
+ </span>
<div class="ui right">
<div class="ui menu">
<a class="{{if $.PageIsOrgMembers}}active{{end}} item" href="{{$.OrgLink}}/members">