UI: Keep repository settings menu button right

tokarchuk/v1.17
Adam Strzelecki 9 years ago
parent 61fdd8c571
commit ec98deeb8c
  1. 2
      templates/repo/sidebar.tmpl

@ -19,9 +19,11 @@
<i class="icon octicon octicon-book"></i> {{.i18n.Tr "repo.wiki"}} <i class="icon octicon octicon-book"></i> {{.i18n.Tr "repo.wiki"}}
</a> </a>
{{if .IsRepositoryAdmin}} {{if .IsRepositoryAdmin}}
<div class="right menu">
<a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings"> <a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
<i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}} <i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
</a> </a>
</div>
{{end}} {{end}}
</div> </div>
{{end}} {{end}}
Loading…
Cancel
Save