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.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/repo/issue/labels/labels_sidebar.tmpl b/templates/repo/issue/labels/labels_sidebar.tmpl
new file mode 100644
index 0000000000..bf6f98c888
--- /dev/null
+++ b/templates/repo/issue/labels/labels_sidebar.tmpl
@@ -0,0 +1,9 @@
+<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}}
+</div>