forgejo/templates/repo/issue/labels/labels_sidebar.tmpl

12 lines
422 B
Go HTML Template
Raw Permalink Normal View History

<div class="ui labels list">
2024-07-17 07:41:51 +00:00
<span class="no-select {{if .root.HasSelectedLabel}}tw-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_label"}}</span>
<span class="labels-list ugc-labels">
{{range .root.Labels}}
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
{{range .root.OrgLabels}}
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
</span>
</div>