fix some leftover things

This commit is contained in:
Lisa Passing 2015-03-18 15:59:44 +01:00
parent 3291355808
commit 6bd5fe8387
2 changed files with 8 additions and 7 deletions

View File

@ -9,13 +9,14 @@
{{#if showRunningJobs}}
<div class="tabbody sidebar-list">
{{render "runningJobs"}}
Hello
{{render "queue"}}
</div>
{{else}}
<div class="tabbody sidebar-list">
{{#if isLoaded}}
{{#collection 'repos-list' content=this}}
{{#with view.repo as repo}}
<div {{bind-attr class=":tile :tile--sidebar repo.lastBuildState"}}>
<h2 class="tile-title">
@ -36,7 +37,6 @@
{{/if}}
{{/with}}
{{#if repo.lastBuildHash.number }}
<p>
<span class="icon icon--clock"></span>
Duration:
@ -54,6 +54,7 @@
</p>
</div>
{{/with}}
{{else}}
<p class="empty">{{noReposMessage}}</p>
{{/collection}}

View File

@ -5,15 +5,15 @@
</li>
{{#unless config.pro}}
{{!-- <li id="tab_recent" {{bind-attr class="view.classRecent"}}>
<li id="tab_recent" {{bind-attr class="view.classRecent"}}>
{{#link-to "main.recent"}}Recent{{/link-to}}
</li> --}}
<li id="tab_running" {{bind-attr class="view.classRunning"}}>
<a href="#" {{action "showRunningJobs"}}>Running</a>
</li>
{{/unless}}
<li id="tab_running" {{bind-attr class="view.classRunning"}}>
<a href="#" {{action "showRunningJobs"}}>Running</a>
</li>
<li id="tab_new" {{bind-attr class="view.classNew :float-right"}}>
{{#link-to "profile" trackEvent="add-repository-from-list" title="Add New Repository"}}
<span class="icon icon--plus"></span>