Fix link to PR on build/job page
This commit is contained in:
parent
74dc2bc339
commit
831540af88
|
@ -26,7 +26,7 @@
|
|||
<dd class="commit"><a {{bindAttr href="controller.urlGithubCommit"}}>{{formatCommit this}}</a></dd>
|
||||
{{#if ../build.pullRequest}}
|
||||
<dt>{{t builds.pull_request}}</dt>
|
||||
<dd class="pull_request"><a {{bindAttr href="compareUrl"}}>#{{build.pullRequestNumber}} {{build.pullRequestTitle}}</a></dd>
|
||||
<dd class="pull_request"><a {{bindAttr href="build.commit.compareUrl"}}>#{{build.pullRequestNumber}} {{build.pullRequestTitle}}</a></dd>
|
||||
{{else}}
|
||||
{{#if compareUrl}}
|
||||
<dt>{{t builds.compare}}</dt>
|
||||
|
|
|
@ -25,7 +25,11 @@
|
|||
<dd class="commit"><a {{bindAttr href="controller.urlGithubCommit"}}>{{formatCommit this}}</a></dd>
|
||||
{{#if ../job.build.pullRequest}}
|
||||
<dt>{{t builds.pull_request}}</dt>
|
||||
<dd class="pull_request"><a {{bindAttr href="compareUrl"}}>#{{job.build.pullRequestNumber}} {{job.build.pullRequestTitle}}</a></dd>
|
||||
<dd class="pull_request">
|
||||
{{#if compareUrl}}
|
||||
<a {{bindAttr href="job.commit.compareUrl"}}>#{{job.build.pullRequestNumber}} {{job.build.pullRequestTitle}}</a>
|
||||
{{/if}}
|
||||
</dd>
|
||||
{{else}}
|
||||
{{#if compareUrl}}
|
||||
<dt>{{t jobs.compare}}</dt>
|
||||
|
|
Loading…
Reference in New Issue
Block a user