1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 20:18:20 +00:00

Show edit/close/delete button on organization wide repositories (#23388) (#23429)

Backport #23388 by @yp05327

A part of https://github.com/go-gitea/gitea/pull/22865

Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
Giteabot
2023-03-12 10:17:25 -04:00
committed by GitHub
parent 0d9b44c0e3
commit 41655ee878
4 changed files with 12 additions and 12 deletions

View File

@@ -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" 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"}}