From 199d67581a1c30e5b9380af6c9d63a9cb7320449 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 7 Mar 2018 12:39:38 +0100 Subject: [PATCH] templates/user/dashboard/issues: show labels to each issue (#4976) * add issue labels * remove hyperlink from issue label * wrap labels in right aligned span * put issues with div put the issue labels within a div so they don't interfere with the number of comments --- templates/user/dashboard/issues.tmpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 720f3fc7a..b1b6f602c 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -73,6 +73,14 @@ {{if .NumComments}} {{.NumComments}} {{end}} + +
+ + {{range .Labels}} + {{.Name | Sanitize}} + {{end}} + +

{{$.i18n.Tr "repo.issues.opened_by" $timeStr .Poster.HomeLink .Poster.Name | Safe}}