tweak elapsed time

This commit is contained in:
Lisa P 2015-12-02 16:28:14 +01:00
parent 576409ba1e
commit 9cb7c6c836
2 changed files with 6 additions and 2 deletions

View File

@ -101,6 +101,7 @@
.commit-clock
@extend %icon-line-clock
padding-left: 1.7em
margin-bottom: 1rem
background:
size: auto 22px
repeat: no-repeat
@ -115,7 +116,6 @@
.commit-stopwatch
@extend %icon-line-stopwatch
padding-left: 1.7em
margin-bottom: 1rem
background:
size: auto 18px
repeat: no-repeat

View File

@ -56,8 +56,12 @@
{{/if}}
</h3>
<ul class="list-icon">
<li title="{{format-duration item.duration}}" class="commit-clock">{{#if item.isFinished}}Total time{{else}}Running{{/if}} for {{format-duration item.duration}}</li>
<li title="{{format-duration elapsedTime}}" class="commit-stopwatch">Elapsed time {{format-duration elapsedTime}}</li>
{{#unless isJob}}
{{#if item.isMatrix}}
<li title="{{format-duration item.duration}}" class="commit-clock">{{#if item.isFinished}}Total time{{else}}Running{{/if}} for {{format-duration item.duration}}</li>
{{/if}}
{{/unless}}
<li title="{{pretty-date item.finishedAt}}" class="commit-calendar">{{format-time item.finishedAt}}</li>
</ul>
</div>