mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
b83825253e
* Fix label display on new issues PR #13570 broke label rendering for new issues and pulls because missed the fact that the code was relying on the DOM elements being toggled by JavaScript. On top of that, the label rendering for new issues and pull was using an outdated template which I consolidated in a new shared template. * remove wrapper element and style tweaks * style tweaks * use shared template for whole label list Co-authored-by: techknowlogick <techknowlogick@gitea.io>
9 lines
354 B
Handlebars
9 lines
354 B
Handlebars
<div class="ui labels list">
|
|
<span class="no-select item {{if .ctx.HasSelectedLabel}}hide{{end}}">{{.ctx.i18n.Tr "repo.issues.new.no_label"}}</span>
|
|
{{range .ctx.Labels}}
|
|
{{template "repo/issue/labels/label" dict "root" $ "label" .}}
|
|
{{end}}
|
|
{{range .ctx.OrgLabels}}
|
|
{{template "repo/issue/labels/label" dict "root" $ "label" .}}
|
|
{{end}}
|
|
</div>
|