|
|
|
@ -20,8 +20,8 @@
|
|
|
|
|
{{avatar $.Context .SignedUser}}
|
|
|
|
|
<span class="truncated-item-name">{{.SignedUser.ShortName 40}}</span>
|
|
|
|
|
<span class="org-visibility">
|
|
|
|
|
{{if .ContextUser.Visibility.IsLimited}}<div class="ui basic tiny horizontal label">{{$.locale.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
|
|
|
|
|
{{if .ContextUser.Visibility.IsPrivate}}<div class="ui basic tiny horizontal label">{{$.locale.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
|
|
|
|
|
{{if .SignedUser.Visibility.IsLimited}}<div class="ui basic tiny horizontal label">{{$.locale.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
|
|
|
|
|
{{if .SignedUser.Visibility.IsPrivate}}<div class="ui basic tiny horizontal label">{{$.locale.Tr "org.settings.visibility.private_shortname"}}</div>{{end}}
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
{{range .Orgs}}
|
|
|
|
|