From a04eeb2a548d4fd2b63873fc2acff49c52e19723 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Sun, 12 Mar 2023 22:36:47 +0900 Subject: Show edit/close/delete button on organization wide repositories (#23388) A part of https://github.com/go-gitea/gitea/pull/22865 --- templates/projects/list.tmpl | 6 +++--- templates/projects/view.tmpl | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/projects') diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index 489189ec45..4a21c0fd28 100644 --- a/templates/projects/list.tmpl +++ b/templates/projects/list.tmpl @@ -51,7 +51,7 @@ {{JsPrettyNumber .NumClosedIssues}} {{$.locale.Tr "repo.issues.closed_title"}} - {{if and (or $.CanWriteIssues $.CanWritePulls) (not $.Repository.IsArchived)}} + {{if and $.CanWriteProjects (not $.Repository.IsArchived)}}