From d2cb6f8da7bc3f4e19cf4014a66ec7c54571487b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Tue, 12 Aug 2025 22:55:06 -0400 Subject: [PATCH] ensure we do not display an add button when viewing a group's projects --- templates/projects/list.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index 7ff511e2de..4242aea6cf 100644 --- a/templates/projects/list.tmpl +++ b/templates/projects/list.tmpl @@ -10,7 +10,11 @@ {{ctx.Locale.PrettyNumber .ClosedCount}} {{ctx.Locale.Tr "repo.issues.closed_title"}} - {{ctx.Locale.Tr "repo.projects.new"}} + {{if not $.Group}} +
+ {{ctx.Locale.Tr "repo.projects.new"}} +
+ {{end}} {{end}}