Pass repo instead of slug in showJob
The old version saves us some requets, but is harder to maintain, also repos in workers should now be sideloaded from pusher payload.
This commit is contained in:
parent
92f843208a
commit
90474edd8b
|
@ -17,7 +17,7 @@
|
||||||
<div class="status"></div>
|
<div class="status"></div>
|
||||||
{{#if worker.isWorking}}
|
{{#if worker.isWorking}}
|
||||||
{{#if worker.jobId}}
|
{{#if worker.jobId}}
|
||||||
<a {{action showJob worker.repoSlug worker.jobId target="Travis.app.router" href=true}} {{bindAttr title="worker.lastSeenAt"}}>
|
<a {{action showJob worker.repo worker.jobId target="Travis.app.router" href=true}} {{bindAttr title="worker.lastSeenAt"}}>
|
||||||
{{view.display}}
|
{{view.display}}
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user