a) author/committer emails on build page and b) PR on job page
This commit is contained in:
parent
73213153fe
commit
d12bb1e8e4
|
@ -35,11 +35,11 @@
|
|||
{{/if}}
|
||||
{{#if authorName}}
|
||||
<dt>{{t builds.author}}</dt>
|
||||
<dd class="author"><a {{bindAttr href="urlAuthor"}}>{{authorName}}</a></dd>
|
||||
<dd class="author"><a {{bindAttr href="controller.urlAuthor"}}>{{authorName}}</a></dd>
|
||||
{{/if}}
|
||||
{{#if committerName}}
|
||||
<dt>{{t builds.committer}}</dt>
|
||||
<dd class="committer"><a {{bindAttr href="urlCommitter"}}>{{committerName}}</a></dd>
|
||||
<dd class="committer"><a {{bindAttr href="controller.urlCommitter"}}>{{committerName}}</a></dd>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/with}}
|
||||
|
|
|
@ -26,9 +26,7 @@
|
|||
{{#if ../job.build.pullRequest}}
|
||||
<dt>{{t builds.pull_request}}</dt>
|
||||
<dd class="pull_request">
|
||||
{{#if compareUrl}}
|
||||
<a {{bindAttr href="job.commit.compareUrl"}}>#{{job.build.pullRequestNumber}} {{job.build.pullRequestTitle}}</a>
|
||||
{{/if}}
|
||||
<a {{bindAttr href="job.build.commit.compareUrl"}}>#{{job.build.pullRequestNumber}} {{job.build.pullRequestTitle}}</a>
|
||||
</dd>
|
||||
{{else}}
|
||||
{{#if compareUrl}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user