summaryrefslogtreecommitdiff
path: root/app/views/projects/generic_commit_statuses/_generic_commit_status.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/generic_commit_statuses/_generic_commit_status.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/generic_commit_statuses/_generic_commit_status.html.haml')
-rw-r--r--app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
index 5bc5c71283e..542827b2f15 100644
--- a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
+++ b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
@@ -50,10 +50,12 @@
%td.duration
- if generic_commit_status.duration
+ = icon("clock-o")
#{duration_in_words(generic_commit_status.finished_at, generic_commit_status.started_at)}
%td.timestamp
- if generic_commit_status.finished_at
+ = icon("calendar")
%span #{time_ago_with_tooltip(generic_commit_status.finished_at)}
- if defined?(coverage) && coverage