File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 47
47
<h2 class="project-title">{{$.Project.Title}}</h2>
48
48
<div class="content project-description">{{$.Project.RenderedContent|Str2html}}</div>
49
49
</div>
50
- {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}}
50
+ {{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
51
51
<div class="column right aligned">
52
52
<div class="ui compact right small menu">
53
53
<a class="item" href="{{$.RepoLink}}/projects/{{.Project.ID}}/edit?redirect=project" data-id={{$.Project.ID}} data-title={{$.Project.Title}}>
267
267
268
268
</div>
269
269
270
- {{if or .CanWriteIssues .CanWritePulls }}
270
+ {{if .CanWriteProjects }}
271
271
<div class="ui small basic delete modal">
272
272
<div class="ui icon header">
273
273
{{svg "octicon-trash"}}
You can’t perform that action at this time.
0 commit comments