diff options
author | Unknwon <u@gogs.io> | 2015-08-05 18:28:05 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-05 18:28:05 +0800 |
commit | 6d2f25b9f597cb06e7c686bc837e622f059441fb (patch) | |
tree | 22c8021788229e954bf00b314706c8af7940300e /templates/repo/issue/milestone_new.tmpl | |
parent | 74bd6b939c725e6e9c7395fe6356e9a6d7d662e6 (diff) | |
download | gitea-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.tmpl | 5 |
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"> |