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:
Piotr Sarnacki 2012-11-05 22:34:59 +01:00
parent 92f843208a
commit 90474edd8b

View File

@ -17,7 +17,7 @@
<div class="status"></div>
{{#if worker.isWorking}}
{{#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}}
</a>
{{/if}}