org dashboard: move teamselector left (#14954)

Co-authored-by: zeripath <art27@cantab.net>
tokarchuk/v1.17
Norwin 4 years ago committed by GitHub
parent 27b8eff96b
commit 598dd21cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      templates/user/dashboard/navbar.tmpl

@ -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>
@ -100,5 +102,4 @@
</div> </div>
{{end}} {{end}}
</div> </div>
</div>
<div class="ui divider"></div> <div class="ui divider"></div>

Loading…
Cancel
Save