diff options
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r-- | templates/org/home.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 01c1fe66b0..024be119bd 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -7,6 +7,10 @@ <div id="org-info"> <div class="ui header"> {{.Org.DisplayName}} + <span class="org-visibility"> + {{if .Org.Visibility.IsLimited}}<div class="ui large orange horizontal label">{{.i18n.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}} + {{if .Org.Visibility.IsPrivate}}<div class="ui large red horizontal label">{{.i18n.Tr "org.settings.visibility.private_shortname"}}</div>{{end}} + </span> {{if .IsOrganizationOwner}}<a class="middle text grey" href="{{.OrgLink}}/settings">{{svg "octicon-gear"}}</a>{{end}} </div> {{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}} |