From afec856c4e7a72005e929f1c8a08436d42735b81 Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Wed, 27 May 2026 18:11:22 +0200 Subject: [PATCH] fix(ui): hide new issue button on single issue view for archived repos --- templates/repo/issue/view_title.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 6f65807b88..5526c585e7 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -13,7 +13,7 @@ {{if $canEditIssueTitle}} {{end}} - {{if not .Issue.IsPull}} + {{if and (not .Issue.IsPull) (not .Repository.IsArchived)}} {{ctx.Locale.Tr "repo.issues.new"}} {{end}}