1
0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 03:35:55 +01:00

fix new milestone button visibility

This commit is contained in:
Unknwon 2015-08-05 15:27:22 +08:00
parent 3e4cdccf6b
commit 4081f86654

@ -4,9 +4,11 @@
<div class="ui middle page grid body">
<div class="navbar">
{{template "repo/issue/navbar" .}}
{{if .IsRepositoryAdmin}}
<div class="ui right floated secondary menu">
<a class="ui green button" href="{{$.RepoLink}}/milestones/new">{{.i18n.Tr "repo.milestones.new"}}</a>
</div>
{{end}}
</div>
<div class="ui divider"></div>
{{template "repo/issue/alert" .}}
@ -23,7 +25,6 @@
</div>
</div>
<div class="sixteen wide column">
<div class="milestone list">
{{range .Milestones}}