summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/labels.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/labels.tmpl')
-rw-r--r--templates/repo/issue/labels.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl
index c3bfc9ccc6..32a5c2a4ef 100644
--- a/templates/repo/issue/labels.tmpl
+++ b/templates/repo/issue/labels.tmpl
@@ -79,8 +79,8 @@
<input type="hidden" name="template_name" value="Default">
<div class="default text">{{.i18n.Tr "repo.issues.label_templates.helper"}}</div>
<div class="menu">
- {{range .LabelTemplates}}
- <div class="item" data-value="{{.}}">{{.}}</div>
+ {{range $template, $labels := .LabelTemplates}}
+ <div class="item" data-value="{{$template}}">{{$template}}<br/><i>({{$labels}})</i></div>
{{end}}
</div>
</div>