Make sure that repo.slug is loaded for queue urls

This commit is contained in:
Piotr Sarnacki 2012-10-24 14:13:47 +02:00
parent 0ac265a4a7
commit a7faec7479
4 changed files with 30766 additions and 140 deletions

View File

@ -5,12 +5,15 @@
<ul {{bindAttr id="queue.id"}}> <ul {{bindAttr id="queue.id"}}>
{{#each job in queue}} {{#each job in queue}}
{{#view Travis.QueueItemView jobBinding="job"}} {{#view Travis.QueueItemView jobBinding="job"}}
<a {{action showJob job.repo job target="Travis.app.router" href=true}}>
<span class="slug"> {{#if job.repo.slug}}
{{job.repo.slug}} <a {{action showJob job.repo job target="Travis.app.router" href=true}}>
</span> <span class="slug">
#{{job.number}} {{job.repo.slug}}
</a> </span>
#{{job.number}}
</a>
{{/if}}
{{/view}} {{/view}}
{{else}} {{else}}
{{t no_job}} {{t no_job}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
0a9ef10c 12959e72