on the repos list remove "summary" elements for repos without a build
This commit is contained in:
parent
ce8237b4e7
commit
be63d535e1
|
@ -20,6 +20,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/with}}
|
{{/with}}
|
||||||
|
|
||||||
|
{{#if lastBuildHash.number }}
|
||||||
<p class="summary">
|
<p class="summary">
|
||||||
<span class="duration_label">Duration:</span>
|
<span class="duration_label">Duration:</span>
|
||||||
<abbr class="duration" {{bind-attr title="lastBuildStartedAt"}}>{{formatDuration lastBuildDuration}}</abbr>
|
<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>
|
<span class="finished-icon"></span><span class="finished_at_label">Finished:</span>
|
||||||
<abbr class="finished_at timeago" {{bind-attr title="lastBuildFinishedAt"}}>{{formatTime lastBuildFinishedAt}}</abbr>
|
<abbr class="finished_at timeago" {{bind-attr title="lastBuildFinishedAt"}}>{{formatTime lastBuildFinishedAt}}</abbr>
|
||||||
</p>
|
</p>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<div class="indicator"><span></span></div>
|
<div class="indicator"><span></span></div>
|
||||||
{{/with}}
|
{{/with}}
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
span
|
span
|
||||||
position: relative
|
position: relative
|
||||||
display: block
|
display: block
|
||||||
top: 45px
|
top: calc(50% - 10px)
|
||||||
left: -15px
|
left: -15px
|
||||||
width: 20px
|
width: 20px
|
||||||
height: 20px
|
height: 20px
|
||||||
|
|
Loading…
Reference in New Issue
Block a user