travis-web/app/templates/repos.hbs
Piotr Sarnacki 0a872e25a7 Fix showing running jobs
When I changed tabs-list-view to be a component I missed the fact that
config is not registered for components, which resulted in not showing
the running jobs tab at all. This commit fixes the situation.
2016-01-14 14:04:29 +01:00

29 lines
763 B
Handlebars

<div class="search search--sidebar">
<div class="search-inner">
{{input value=search placeholder="Search all repositories"}}
</div>
</div>
{{repos-list-tabs tab=tab startedJobsCount=startedJobsCount allJobsCount=allJobsCount showMyRepositories=(action "showMyRepositories") showRunningJobs=(action "showRunningJobs")}}
{{#if showRunningJobs}}
<div class="tabbody sidebar-list">
<div>
{{running-jobs jobs=runningJobs}}
</div>
<hr class="sidebar-seperator">
<div>
{{queued-jobs jobs=queuedJobs}}
</div>
</div>
{{else}}
<div class="tabbody sidebar-list">
{{#if isLoaded}}
{{repos-list repos=repos selectedRepo=selectedRepo}}
{{else}}
{{loading-indicator center=true}}
{{/if}}
</div>
{{/if}}