summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-07 23:33:18 +0800
committerGitHub <noreply@github.com>2017-02-07 23:33:18 +0800
commit02a881aa32b3b5bbf05e9a75f0061b6c892fb671 (patch)
treeb72ccfa8631886578c1b665c2a12ef81b9efbae2 /templates
parented096186a7065149f91a79bda87c07508b1c4a07 (diff)
downloadgitea-02a881aa32b3b5bbf05e9a75f0061b6c892fb671.tar.gz
gitea-02a881aa32b3b5bbf05e9a75f0061b6c892fb671.zip
show tags on dashboard issues (#860)
Diffstat (limited to 'templates')
-rw-r--r--templates/user/dashboard/issues.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index 7eb65f8ddc..615a2fe995 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -64,6 +64,10 @@
<div class="ui label">{{if not $.RepoID}}{{.Repo.Name}}{{end}}#{{.Index}}</div>
<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
+ {{range .Labels}}
+ <a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name}}</a>
+ {{end}}
+
{{if .NumComments}}
<span class="comment ui right"><i class="octicon octicon-comment"></i> {{.NumComments}}</span>
{{end}}