From 47199c35a5555483309cdbde39c3da51e5a75d69 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Date: Thu, 7 Jul 2016 08:44:00 -0500 Subject: Add clock and calendar icons for duration and finished at; add finished at section in pipelines --- app/views/projects/ci/pipelines/_pipeline.html.haml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/views/projects/ci/pipelines/_pipeline.html.haml') diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml index af8dd5cd02c..f2c19797206 100644 --- a/app/views/projects/ci/pipelines/_pipeline.html.haml +++ b/app/views/projects/ci/pipelines/_pipeline.html.haml @@ -45,7 +45,12 @@ %td - if pipeline.started_at && pipeline.finished_at %p.duration + = icon("clock-o") = duration_in_numbers(pipeline.finished_at, pipeline.started_at) + - if pipeline.finished_at + %p.duration + = icon("calendar") + #{time_ago_with_tooltip(pipeline.finished_at)} %td .controls.hidden-xs.pull-right -- cgit v1.2.1