summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/labels/labels_sidebar.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/labels/labels_sidebar.tmpl')
-rw-r--r--templates/repo/issue/labels/labels_sidebar.tmpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/repo/issue/labels/labels_sidebar.tmpl b/templates/repo/issue/labels/labels_sidebar.tmpl
index bf6f98c888..1d61ecf3df 100644
--- a/templates/repo/issue/labels/labels_sidebar.tmpl
+++ b/templates/repo/issue/labels/labels_sidebar.tmpl
@@ -1,9 +1,11 @@
<div class="ui labels list">
<span class="no-select item {{if .ctx.HasSelectedLabel}}hide{{end}}">{{.ctx.i18n.Tr "repo.issues.new.no_label"}}</span>
- {{range .ctx.Labels}}
- {{template "repo/issue/labels/label" dict "root" $ "label" .}}
- {{end}}
- {{range .ctx.OrgLabels}}
- {{template "repo/issue/labels/label" dict "root" $ "label" .}}
- {{end}}
+ <span class="labels-list">
+ {{range .ctx.Labels}}
+ {{template "repo/issue/labels/label" dict "root" $ "label" .}}
+ {{end}}
+ {{range .ctx.OrgLabels}}
+ {{template "repo/issue/labels/label" dict "root" $ "label" .}}
+ {{end}}
+ </span>
</div>