diff options
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"> |