Skip to content

Commit 601b0cf

Browse files
zeripathtechknowlogick
authored andcommitted
Add description to labels on create issue (#9392)
1 parent 2b0e4e0 commit 601b0cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/repo/issue/new_form.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
<div class="filter menu" data-id="#label_ids">
4747
<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div>
4848
{{range .Labels}}
49-
<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>
49+
<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}}
50+
{{if .Description }}<br><small class="desc">{{.Description}}</small>{{end}}</a>
5051
{{end}}
5152
</div>
5253
</div>

0 commit comments

Comments
 (0)