summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorElias Norberg <elias@aisle.se>2019-09-30 11:16:29 +0200
committerLauris BH <lauris@nix.lv>2019-09-30 12:16:29 +0300
commit8a45070f62f7094d9e0753aadc40b50087e33928 (patch)
treef8e1693e49c696af4a8703c055784d8b2484e421 /templates
parentf89d027c1539626a970c4cb5c8299bcd40bc9747 (diff)
downloadgitea-8a45070f62f7094d9e0753aadc40b50087e33928.tar.gz
gitea-8a45070f62f7094d9e0753aadc40b50087e33928.zip
Fix pull request commit status in user dashboard list (#8321)
Diffstat (limited to 'templates')
-rw-r--r--templates/user/dashboard/issues.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index b1d0ee4193..83e630e97e 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -72,8 +72,8 @@
<a class="title has-emoji" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Title}}</a>
{{if .IsPull }}
- {{if (index $.CommitStatus .ID)}}
- {{template "repo/commit_status" (index $.CommitStatus .ID)}}
+ {{if (index $.CommitStatus .PullRequest.ID)}}
+ {{template "repo/commit_status" (index $.CommitStatus .PullRequest.ID)}}
{{end}}
{{end}}