diff options
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 720f3fc7..b1b6f602 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -73,6 +73,14 @@ {{if .NumComments}} <span class="comment ui right"><i class="octicon octicon-comment"></i> {{.NumComments}}</span> {{end}} + + <div> + <span class="ui right"> + {{range .Labels}} + <a class="ui label" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name | Sanitize}}</a> + {{end}} + </span> + </div> <p class="desc"> {{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}} |