on the repos list remove "summary" elements for repos without a build

This commit is contained in:
Sven Fuchs 2013-10-30 18:30:31 +01:00
parent ce8237b4e7
commit be63d535e1
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@
{{/if}}
{{/with}}
{{#if lastBuildHash.number }}
<p class="summary">
<span class="duration_label">Duration:</span>
<abbr class="duration" {{bind-attr title="lastBuildStartedAt"}}>{{formatDuration lastBuildDuration}}</abbr>
@ -28,6 +29,7 @@
<span class="finished-icon"></span><span class="finished_at_label">Finished:</span>
<abbr class="finished_at timeago" {{bind-attr title="lastBuildFinishedAt"}}>{{formatTime lastBuildFinishedAt}}</abbr>
</p>
{{/if}}
<div class="indicator"><span></span></div>
{{/with}}

View File

@ -83,7 +83,7 @@
span
position: relative
display: block
top: 45px
top: calc(50% - 10px)
left: -15px
width: 20px
height: 20px