diff options
author | Elias Norberg <elias@aisle.se> | 2019-09-30 11:16:29 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-09-30 12:16:29 +0300 |
commit | 8a45070f62f7094d9e0753aadc40b50087e33928 (patch) | |
tree | f8e1693e49c696af4a8703c055784d8b2484e421 /templates | |
parent | f89d027c1539626a970c4cb5c8299bcd40bc9747 (diff) | |
download | gitea-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.tmpl | 4 |
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}} |