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}}>
277
277
278
278
</div>
279
279
280
- {{if or .CanWriteIssues .CanWritePulls }}
280
+ {{if .CanWriteProjects }}
281
281
<div class="ui gitea-confirm-modal delete modal">
282
282
<div class="header">
283
283
{{svg "octicon-trash"}}
You can’t perform that action at this time.
0 commit comments