From 4b8900be0ae3e85d230d70fc09c0dec5df94f146 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 20 May 2015 13:07:22 +0200 Subject: [PATCH] Bring back proper HTML for running jobs item --- app/templates/running-jobs.hbs | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/app/templates/running-jobs.hbs b/app/templates/running-jobs.hbs index c99fd7e3..bb97dcfd 100644 --- a/app/templates/running-jobs.hbs +++ b/app/templates/running-jobs.hbs @@ -1,7 +1,28 @@ {{#if isLoaded}} {{#if controller.length}} {{#each job in controller}} - {{running-jobs-item job=job}} +
+ {{#if job.repo.slug}} + + {{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}} + {{/if}} + +

+ + {{#if job.repo.slug}} + {{#link-to "job" job.repo job}}{{job.number}}{{/link-to}} + {{/if}} +

+ +

+ + Duration: + + {{format-duration job.duration}} + +

+ +
{{/each}} {{else}}
There are no jobs running