org dashboard: move teamselector left (#14954)

Co-authored-by: zeripath <art27@cantab.net>
release/v1.15
Norwin 2021-03-17 22:45:16 +00:00 committed by GitHub
parent 27b8eff96b
commit 598dd21cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 53 additions and 52 deletions

View File

@ -41,9 +41,7 @@
</div> </div>
</div> </div>
</div> </div>
{{if .ContextUser.IsOrganization}} {{if .ContextUser.IsOrganization}}
<div class="right stackable menu">
<div class="item"> <div class="item">
<div class="ui floating dropdown link jump"> <div class="ui floating dropdown link jump">
<span class="text"> <span class="text">
@ -73,7 +71,11 @@
</div> </div>
</div> </div>
</div> </div>
{{end}}
</div> </div>
{{if .ContextUser.IsOrganization}}
<div class="right stackable menu">
<a class="{{if .PageIsNews}}active{{end}} item" style="margin-left: auto" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard{{if .Team}}/{{.Team.Name}}{{end}}"> <a class="{{if .PageIsNews}}active{{end}} item" style="margin-left: auto" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard{{if .Team}}/{{.Team.Name}}{{end}}">
{{svg "octicon-rss"}}&nbsp;{{.i18n.Tr "activities"}} {{svg "octicon-rss"}}&nbsp;{{.i18n.Tr "activities"}}
</a> </a>
@ -99,6 +101,5 @@
</div> </div>
</div> </div>
{{end}} {{end}}
</div>
</div> </div>
<div class="ui divider"></div> <div class="ui divider"></div>