Fix grammatical error for finished job duration

While a job is running, on the job status view, the duration is labeled: "Running for x sec". When the job finishes, 'Running' is swapped for 'Total time'. But "Total time for x sec" doesn't make any sense. the " for" should be part of the conditional with "Running"
This commit is contained in:
Jason Karns 2016-01-14 14:03:41 -05:00
parent c70ed06848
commit a7e2099829

View File

@ -67,7 +67,7 @@
{{#if item.isMatrix}}
<li title="{{format-duration item.duration}}" class="commit-clock">
<span class="icon-clock" aria-hidden="true"></span>
<span class="label-align">{{#if item.isFinished}}Total time{{else}}Running{{/if}} for {{format-duration item.duration}}</span></li>
<span class="label-align">{{#if item.isFinished}}Total time{{else}}Running for{{/if}} {{format-duration item.duration}}</span></li>
{{/if}}
{{/unless}}
<li title="{{pretty-date item.finishedAt}}" class="commit-calendar">