summaryrefslogtreecommitdiffstats
path: root/templates/repo/projects/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/projects/new.tmpl')
-rw-r--r--templates/repo/projects/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/projects/new.tmpl b/templates/repo/projects/new.tmpl
index 2da722bf9e..aabc09c80d 100644
--- a/templates/repo/projects/new.tmpl
+++ b/templates/repo/projects/new.tmpl
@@ -4,7 +4,7 @@
<div class="ui container">
<div class="navbar">
{{template "repo/issue/navbar" .}}
- {{if and (or .CanWriteIssues .CanWritePulls) .PageIsEditProject}}
+ {{if and .CanWriteProjects .PageIsEditProject}}
<div class="ui right floated secondary menu">
<a class="ui green button" href="{{$.RepoLink}}/projects/new">{{.i18n.Tr "repo.milestones.new"}}</a>
</div>