UI: Keep repository settings menu button right
This commit is contained in:
parent
61fdd8c571
commit
ec98deeb8c
1 changed files with 5 additions and 3 deletions
|
@ -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}}
|
||||||
<a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
|
<div class="right menu">
|
||||||
<i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
|
<a class="{{if .PageIsSettings}}active{{end}} item" href="{{.RepoLink}}/settings">
|
||||||
</a>
|
<i class="icon octicon octicon-tools"></i> {{.i18n.Tr "repo.settings"}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
Loading…
Reference in a new issue