From 412633b669401ae2c802a16c43427dbdc7f4e63a Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 7 Jul 2024 21:31:12 -0700 Subject: [PATCH] Don't show hidden labels when filling out an issue template (#31576) Related to #31574 --- *Sponsored by Kithara Software GmbH* (cherry picked from commit d7c7a789947080be76d94f28f3f7f8788a545f7d) --- templates/repo/issue/fields/header.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/fields/header.tmpl b/templates/repo/issue/fields/header.tmpl index 6034fed5fd..06c41af6b9 100644 --- a/templates/repo/issue/fields/header.tmpl +++ b/templates/repo/issue/fields/header.tmpl @@ -1,4 +1,4 @@ -{{if .item.Attributes.label}} +{{if and (.item.Attributes.label) (not .item.Attributes.hide_label)}}