Remove unused code

This commit is contained in:
Piotr Sarnacki 2015-01-15 16:10:43 +01:00
parent 0217862626
commit 47e4dd664d
2 changed files with 0 additions and 45 deletions

View File

@ -1,29 +0,0 @@
<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>

View File

@ -23,22 +23,6 @@ Travis.InsufficientOauthPermissionsView = Travis.View.extend
Travis.FirstSyncView = Travis.View.extend
layoutName: 'layouts/simple'
Travis.SidebarView = Travis.View.extend
classQueues: (->
'active' if @get('activeTab') == 'queues'
).property('activeTab')
classWorkers: (->
'active' if @get('activeTab') == 'workers'
).property('activeTab')
classJobs: (->
'active' if @get('activeTab') == 'jobs'
).property('activeTab')
Travis.QueueItemView = Travis.View.extend
tagName: 'li'
Travis.QueueView = Em.View.extend
init: ->
@_super.apply this, arguments