1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-20 20:58:47 +08:00
gitea/templates/repo/issue/labels/labels_sidebar.tmpl
2021-03-18 14:47:17 +02:00

12 lines
407 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>
<span class="labels-list">
{{range .ctx.Labels}}
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
{{range .ctx.OrgLabels}}
{{template "repo/issue/labels/label" dict "root" $.root "label" .}}
{{end}}
</span>
</div>