From 829fecf97e0cbc51ede0c380ae80712c0ce1995a Mon Sep 17 00:00:00 2001 From: Yevhen Pavlov Date: Mon, 5 Jun 2023 18:15:27 +0300 Subject: [PATCH] Don't display check all issues checkbox when no selectable issues available in list --- templates/repo/issue/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 05aa86fd79884..77a5d87f26199 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -83,7 +83,7 @@
- {{if $.CanWriteIssuesOrPulls}} + {{if and ($.CanWriteIssuesOrPulls) (gt (len .Issues) 0)}} {{end}} {{template "repo/issue/openclose" .}}