summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorElias Norberg <elias@aisle.se>2019-04-02 21:54:29 +0200
committertechknowlogick <matti@mdranta.net>2019-04-02 15:54:29 -0400
commitbf5af87eef8913004df63aef58f71628f9c057d0 (patch)
tree9f49b1076a95d0ebc961a71a3ebb5d146c5d64c3 /templates/repo/issue
parent09fb036ad625ec5178319c30df47aac313fdbbe3 (diff)
downloadgitea-bf5af87eef8913004df63aef58f71628f9c057d0.tar.gz
gitea-bf5af87eef8913004df63aef58f71628f9c057d0.zip
Show last commit status in pull request lists (#6465)
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/list.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 78352acb50..88716484d2 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -203,6 +203,12 @@
<div class="ui {{if .IsRead}}black{{else}}green{{end}} label">#{{.Index}}</div>
<a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Title}}</a>
+ {{if .IsPull }}
+ {{if (index $.CommitStatus .ID)}}
+ {{template "repo/commit_status" (index $.CommitStatus .ID)}}
+ {{end}}
+ {{end}}
+
{{if .Ref}}
<a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a>
{{end}}