tweak elapsed time
This commit is contained in:
parent
576409ba1e
commit
9cb7c6c836
|
@ -101,6 +101,7 @@
|
||||||
.commit-clock
|
.commit-clock
|
||||||
@extend %icon-line-clock
|
@extend %icon-line-clock
|
||||||
padding-left: 1.7em
|
padding-left: 1.7em
|
||||||
|
margin-bottom: 1rem
|
||||||
background:
|
background:
|
||||||
size: auto 22px
|
size: auto 22px
|
||||||
repeat: no-repeat
|
repeat: no-repeat
|
||||||
|
@ -115,7 +116,6 @@
|
||||||
.commit-stopwatch
|
.commit-stopwatch
|
||||||
@extend %icon-line-stopwatch
|
@extend %icon-line-stopwatch
|
||||||
padding-left: 1.7em
|
padding-left: 1.7em
|
||||||
margin-bottom: 1rem
|
|
||||||
background:
|
background:
|
||||||
size: auto 18px
|
size: auto 18px
|
||||||
repeat: no-repeat
|
repeat: no-repeat
|
||||||
|
|
|
@ -56,8 +56,12 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="list-icon">
|
<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>
|
<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>
|
<li title="{{pretty-date item.finishedAt}}" class="commit-calendar">{{format-time item.finishedAt}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user