mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 14:05:39 +00:00
Fix project board links to related Pull Requests (#34213)
Resolves https://github.com/go-gitea/gitea/issues/34181 (cherry picked from commit a4f22a3e8068d05e76aa0171718b88e57a93050a)
This commit is contained in:
parent
01eee60fdc
commit
d0b7a2cccf
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
{{if $.Page.LinkedPRs}}
|
||||
{{range index $.Page.LinkedPRs .ID}}
|
||||
<div class="meta tw-my-1">
|
||||
<a href="{{$.Issue.Repo.Link}}/pulls/{{.Index}}">
|
||||
<a href="{{.Repo.Link}}/pulls/{{.Index}}">
|
||||
<span class="tw-m-0 text {{if .PullRequest.HasMerged}}purple{{else if .IsClosed}}red{{else}}green{{end}}">{{svg "octicon-git-merge" 16 "tw-mr-1 tw-align-middle"}}</span>
|
||||
<span class="tw-align-middle">{{.Title}} <span class="text light grey">#{{.Index}}</span></span>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue