summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/milestone_new.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-05 18:28:05 +0800
committerUnknwon <u@gogs.io>2015-08-05 18:28:05 +0800
commit6d2f25b9f597cb06e7c686bc837e622f059441fb (patch)
tree22c8021788229e954bf00b314706c8af7940300e /templates/repo/issue/milestone_new.tmpl
parent74bd6b939c725e6e9c7395fe6356e9a6d7d662e6 (diff)
downloadgitea-6d2f25b9f597cb06e7c686bc837e622f059441fb.tar.gz
gitea-6d2f25b9f597cb06e7c686bc837e622f059441fb.zip
clean files
Diffstat (limited to 'templates/repo/issue/milestone_new.tmpl')
-rw-r--r--templates/repo/issue/milestone_new.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo/issue/milestone_new.tmpl b/templates/repo/issue/milestone_new.tmpl
index 108afb0cb6..8fd4d1bb2c 100644
--- a/templates/repo/issue/milestone_new.tmpl
+++ b/templates/repo/issue/milestone_new.tmpl
@@ -4,6 +4,11 @@
<div class="ui middle page grid body">
<div class="navbar">
{{template "repo/issue/navbar" .}}
+ {{if and .IsRepositoryAdmin .PageIsEditMilestone}}
+ <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>
<div class="sixteen wide column page grid">