mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
Fix no edit/close/delete button in org repo project view page (#24301)
Part of #23318.
This commit is contained in:
parent
a319da0688
commit
9c33cbd344
@ -47,7 +47,7 @@
|
|||||||
<h2 class="project-title">{{$.Project.Title}}</h2>
|
<h2 class="project-title">{{$.Project.Title}}</h2>
|
||||||
<div class="content project-description">{{$.Project.RenderedContent|Str2html}}</div>
|
<div class="content project-description">{{$.Project.RenderedContent|Str2html}}</div>
|
||||||
</div>
|
</div>
|
||||||
{{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}}
|
{{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
|
||||||
<div class="column right aligned">
|
<div class="column right aligned">
|
||||||
<div class="ui compact right small menu">
|
<div class="ui compact right small menu">
|
||||||
<a class="item" href="{{$.RepoLink}}/projects/{{.Project.ID}}/edit?redirect=project" data-id={{$.Project.ID}} data-title={{$.Project.Title}}>
|
<a class="item" href="{{$.RepoLink}}/projects/{{.Project.ID}}/edit?redirect=project" data-id={{$.Project.ID}} data-title={{$.Project.Title}}>
|
||||||
@ -277,7 +277,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if or .CanWriteIssues .CanWritePulls}}
|
{{if .CanWriteProjects}}
|
||||||
<div class="ui gitea-confirm-modal delete modal">
|
<div class="ui gitea-confirm-modal delete modal">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
{{svg "octicon-trash"}}
|
{{svg "octicon-trash"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user