diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index cff78df70b..df880591b7 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}}