Skip to content

Commit

Permalink
Don't show hidden labels when filling out an issue template (go-gitea…
Browse files Browse the repository at this point in the history
…#31576)

Related to go-gitea#31574


---
*Sponsored by Kithara Software GmbH*
  • Loading branch information
6543 authored Jul 8, 2024
1 parent 017ea19 commit d7c7a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/fields/header.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{if .item.Attributes.label}}
{{if and (.item.Attributes.label) (not .item.Attributes.hide_label)}}
<h3>{{.item.Attributes.label}}{{if .item.Validations.required}}<label class="required"></label>{{end}}</h3>
{{end}}
{{if .item.Attributes.description}}
Expand Down

0 comments on commit d7c7a78

Please sign in to comment.