Fix pull request number display.

This commit is contained in:
Mathias Meyer 2014-12-12 12:06:21 +01:00
parent aef53f4554
commit 81ffc3d6a7

View File

@ -29,7 +29,7 @@
</div>
<div class="commit-changes">
{{#if job.build.pullRequest}}
<div class="text"><a class="compare" {{bind-attr href="job.commit.compareUrl"}}>#{{build.pullRequestNumber}}: {{job.build.pullRequestTitle}}</a></div>
<div class="text"><a class="compare" {{bind-attr href="job.commit.compareUrl"}}>#{{job.build.pullRequestNumber}}: {{job.build.pullRequestTitle}}</a></div>
{{else}}
{{#if job.build.commit.compareUrl}}
<div class="text"><a class="compare" {{bind-attr href="job.commit.compareUrl"}}>Compare {{shortCompareShas job.build.commit.compareUrl}}</a></div>