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

12 lines
412 B
Handlebars
Raw Normal View History

<div class="ui labels list">
<span class="labels-list">
<span class="no-select {{if .root.HasSelectedLabel}}tw-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_label"}}</span>
{{range .root.Labels}}
2021-03-18 20:47:17 +08:00
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
{{range .root.OrgLabels}}
2021-03-18 20:47:17 +08:00
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
</span>
</div>