Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-27 20:26:09 +01:00
forgejo/templates/repo/issue/labels/labels_sidebar.tmpl

12 lines
416 B
Go HTML Template
Raw Normal View History

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