
We're removing translations from Travis, the substitution was done using this script: https://gist.github.com/drogus/8436273
30 lines
732 B
Handlebars
30 lines
732 B
Handlebars
<ul id="queues">
|
|
{{#each queue in controller}}
|
|
<li class="queue">
|
|
<h4>Queue: {{queue.name}}</h4>
|
|
<ul {{bind-attr id="queue.id"}}>
|
|
{{#each job in queue}}
|
|
{{#view Travis.QueueItemView jobBinding="job"}}
|
|
{{#if job.repo.slug}}
|
|
{{#link-to "job" job.repo job}}
|
|
<span class="slug">
|
|
{{job.repo.slug}}
|
|
</span>
|
|
#{{job.number}}
|
|
{{/link-to}}
|
|
{{/if}}
|
|
{{/view}}
|
|
{{else}}
|
|
There are no jobs
|
|
{{/each}}
|
|
</ul>
|
|
|
|
{{#if queue.isMore}}
|
|
<a {{action "showAll" queue}} class="show-more-jobs">
|
|
{{queue.leftLength}} more jobs - show all
|
|
</a>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|