summaryrefslogtreecommitdiffstats
path: root/templates/issue/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/issue/list.tmpl')
-rw-r--r--templates/issue/list.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/issue/list.tmpl b/templates/issue/list.tmpl
index aac27943f3..0fae3eb663 100644
--- a/templates/issue/list.tmpl
+++ b/templates/issue/list.tmpl
@@ -71,9 +71,12 @@
{{range .Issues}}{{if .Poster}}
<div class="list-group-item issue-item{{if not .IsRead}} unread{{end}}" id="issue-{{.Id}}">
<span class="number pull-right">#{{.Index}}</span>
- <h5 class="title"><a href="{{$.RepoLink}}/issues/{{.Index}}">{{.Name}}</a>
+ <h5 class="title">
+ <a href="{{$.RepoLink}}/issues/{{.Index}}">{{.Name}}</a>
<span class="labels">
- <span class="label" style="background-color: #28a1c5">tag</span>
+ {{range .Labels}}
+ <span class="label" style="background-color: {{.Color}}">{{.Name}}</span>
+ {{end}}
</span>
</h5>
<p class="info">