set the scope correctly when checking if a build/job is a PR in the template
This commit is contained in:
parent
6708412a4d
commit
a42e0b092f
|
@ -24,7 +24,7 @@
|
|||
<div class="right">
|
||||
<dt>{{t builds.commit}}</dt>
|
||||
<dd class="commit"><a {{bindAttr href="controller.urlGithubCommit"}}>{{formatCommit this}}</a></dd>
|
||||
{{#if build.pullRequest}}
|
||||
{{#if ../build.pullRequest}}
|
||||
<dt>{{t builds.pull_request}}</dt>
|
||||
<dd class="pull_request"><a {{bindAttr href="compareUrl"}}>#{{build.pullRequestNumber}} {{build.pullRequestTitle}}</a></dd>
|
||||
{{else}}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<div class="right">
|
||||
<dt>{{t jobs.commit}}</dt>
|
||||
<dd class="commit"><a {{bindAttr href="controller.urlGithubCommit"}}>{{formatCommit this}}</a></dd>
|
||||
{{#if job.build.pullRequest}}
|
||||
{{#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>
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user