We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 396ed46 + 7609f2f commit a6e0232Copy full SHA for a6e0232
templates/repo/diff/compare.tmpl
@@ -192,7 +192,7 @@
192
{{if .HasPullRequest}}
193
<div class="ui segment grid title">
194
<div class="twelve wide column issue-title">
195
- {{.locale.Tr "repo.pulls.has_pull_request" (Escape $.RepoLink) (Escape $.RepoRelPath) .PullRequest.Index | Safe}}
+ {{.locale.Tr "repo.pulls.has_pull_request" (print (Escape $.RepoLink) "/pulls/" .PullRequest.Issue.Index) (Escape $.RepoRelPath) .PullRequest.Index | Safe}}
196
<h1>
197
<span id="issue-title">{{RenderIssueTitle $.Context .PullRequest.Issue.Title $.RepoLink $.Repository.ComposeMetas}}</span>
198
<span class="index">#{{.PullRequest.Issue.Index}}</span>
0 commit comments