diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl
index 0f6ff79f34..da2fc365d3 100644
--- a/templates/repo/projects/view.tmpl
+++ b/templates/repo/projects/view.tmpl
@@ -47,7 +47,7 @@
{{$.Project.Title}}
{{$.Project.RenderedContent|Str2html}}
- {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}}
+ {{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
-{{if or .CanWriteIssues .CanWritePulls}}
+{{if .CanWriteProjects}}