diff options
Diffstat (limited to 'templates/projects/view.tmpl')
-rw-r--r-- | templates/projects/view.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 06192f630b..6867309510 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -43,7 +43,7 @@ <h2 class="project-title">{{$.Project.Title}}</h2> <div class="content project-description">{{$.Project.RenderedContent|Str2html}}</div> </div> - {{if or $.CanWriteIssues $.CanWritePulls}} + {{if $.CanWriteProjects}} <div class="column right aligned"> <div class="ui compact right small menu"> <a class="item" href="{{$.Link}}/edit?redirect=project" data-id={{$.Project.ID}} data-title={{$.Project.Title}}> @@ -256,7 +256,7 @@ </div> -{{if or .CanWriteIssues .CanWritePulls}} +{{if .CanWriteProjects}} <div class="ui small basic delete modal"> <div class="ui icon header"> {{svg "octicon-trash"}} |