|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="ui floating dropdown link jump">
|
|
|
|
|
<span class="text truncated-item-container">
|
|
|
|
|
{{avatar $.Context .ContextUser}}
|
|
|
|
|
{{avatar .ContextUser}}
|
|
|
|
|
<span class="truncated-item-name">{{.ContextUser.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}}
|
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrolling menu items">
|
|
|
|
|
<a class="{{if eq .ContextUser.ID .SignedUser.ID}}active selected{{end}} item truncated-item-container" href="{{AppSubUrl}}/{{if .PageIsIssues}}issues{{else if .PageIsPulls}}pulls{{else if .PageIsMilestonesDashboard}}milestones{{end}}">
|
|
|
|
|
{{avatar $.Context .SignedUser}}
|
|
|
|
|
{{avatar .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}}
|
|
|
|
@ -25,8 +25,8 @@
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
{{range .Orgs}}
|
|
|
|
|
<a class="{{if eq $.ContextUser.ID .ID}}active selected{{end}} item truncated-item-container" title="{{.Name}}" href="{{.OrganisationLink}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else if $.PageIsMilestonesDashboard}}milestones{{else}}dashboard{{end}}">
|
|
|
|
|
{{avatar $.Context .}}
|
|
|
|
|
<a class="{{if eqUser.ID .ID}}active selected{{end}} item truncated-item-container" title="{{.Name}}" href="{{.OrganisationLink}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else if $.PageIsMilestonesDashboard}}milestones{{else}}dashboard{{end}}">
|
|
|
|
|
{{avatar .}}
|
|
|
|
|
<span class="truncated-item-name">{{.ShortName 40}}</span>
|
|
|
|
|
<span class="org-visibility">
|
|
|
|
|
{{if .Visibility.IsLimited}}<div class="ui basic tiny horizontal label">{{$.locale.Tr "org.settings.visibility.limited_shortname"}}</div>{{end}}
|
|
|
|
|