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

12 lines
414 B
Handlebars
Raw Normal View History

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