summaryrefslogtreecommitdiff
path: root/app/views/projects/ci/pipelines/_pipeline.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-07 08:44:00 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-12 14:50:57 -0500
commit47199c35a5555483309cdbde39c3da51e5a75d69 (patch)
treec92a849e0e1aa8ad5a7d009a1d8e308845c78f09 /app/views/projects/ci/pipelines/_pipeline.html.haml
parent33b4fc315ed504511a7f23835939ff8915e0fe01 (diff)
downloadgitlab-ce-47199c35a5555483309cdbde39c3da51e5a75d69.tar.gz
Add clock and calendar icons for duration and finished at; add finished at section in pipelines
Diffstat (limited to 'app/views/projects/ci/pipelines/_pipeline.html.haml')
-rw-r--r--app/views/projects/ci/pipelines/_pipeline.html.haml5
1 files changed, 5 insertions, 0 deletions
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