summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-12-17 20:02:17 +0000
committertechknowlogick <techknowlogick@gitea.io>2019-12-17 15:02:17 -0500
commit601b0cf4c19ba6e75a8df6a73beb5f58f462ad46 (patch)
tree4109bb7b474a41448018a2ef052ddf671db43cf7
parent2b0e4e0cb8b3e7fcc9b4493294567a060a27d299 (diff)
downloadgitea-601b0cf4c19ba6e75a8df6a73beb5f58f462ad46.tar.gz
gitea-601b0cf4c19ba6e75a8df6a73beb5f58f462ad46.zip
Add description to labels on create issue (#9392)
-rw-r--r--templates/repo/issue/new_form.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl
index a4742b32fb..470139d7f3 100644
--- a/templates/repo/issue/new_form.tmpl
+++ b/templates/repo/issue/new_form.tmpl
@@ -46,7 +46,8 @@
<div class="filter menu" data-id="#label_ids">
<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div>
{{range .Labels}}
- <a class="{{if .IsChecked}}checked{{end}} item has-emoji" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon {{if .IsChecked}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}</a>
+ <a class="{{if .IsChecked}}checked{{end}} item has-emoji" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon {{if .IsChecked}}octicon-check{{end}}"></span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}
+ {{if .Description }}<br><small class="desc">{{.Description}}</small>{{end}}</a>
{{end}}
</div>
</div>