From a7e2099829ddc71a224bdd1a0f45b8d56396fda3 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Thu, 14 Jan 2016 14:03:41 -0500 Subject: [PATCH] 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" --- app/templates/components/build-header.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/components/build-header.hbs b/app/templates/components/build-header.hbs index 2d35e48c..073cec46 100644 --- a/app/templates/components/build-header.hbs +++ b/app/templates/components/build-header.hbs @@ -67,7 +67,7 @@ {{#if item.isMatrix}}
  • - {{#if item.isFinished}}Total time{{else}}Running{{/if}} for {{format-duration item.duration}}
  • + {{#if item.isFinished}}Total time{{else}}Running for{{/if}} {{format-duration item.duration}} {{/if}} {{/unless}}