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 4747 <h2 class="project-title">{{$.Project.Title}}</h2>
4848 <div class="content project-description">{{$.Project.RenderedContent|Str2html}}</div>
4949 </div>
50- {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}}
50+ {{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
5151 <div class="column right aligned">
5252 <div class="ui compact right small menu">
5353 <a class="item" href="{{$.RepoLink}}/projects/{{.Project.ID}}/edit?redirect=project" data-id={{$.Project.ID}} data-title={{$.Project.Title}}>
267267
268268</div>
269269
270- {{if or .CanWriteIssues .CanWritePulls }}
270+ {{if .CanWriteProjects }}
271271 <div class="ui small basic delete modal">
272272 <div class="ui icon header">
273273 {{svg "octicon-trash"}}
You can’t perform that action at this time.
0 commit comments