diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-07-11 18:23:21 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-07-12 14:52:59 -0500 |
commit | 6b5cb2455e8ee9dee2b62ebba4f12e3b258f1a7c (patch) | |
tree | de7d0c2a237e7e5b9c7537672189fec139b48723 /app | |
parent | 843ac2a351d2b957dc60ad3476faacc91d7972d8 (diff) | |
download | gitlab-ce-6b5cb2455e8ee9dee2b62ebba4f12e3b258f1a7c.tar.gz |
Update duration representation on builds pages
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/builds/_build.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/ci/builds/_build.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/builds/_build.html.haml b/app/views/admin/builds/_build.html.haml index 2b5a4628242..ce818c30c30 100644 --- a/app/views/admin/builds/_build.html.haml +++ b/app/views/admin/builds/_build.html.haml @@ -49,7 +49,7 @@ - if build.duration %p.duration = custom_icon("icon_timer") - #{duration_in_words(build.finished_at, build.started_at)} + = duration_in_numbers(build.finished_at, build.started_at) - if build.finished_at %p.finished-at diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index f60929d0990..e1b42b2cfa5 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -59,7 +59,7 @@ - if build.duration %p.duration = custom_icon("icon_timer") - #{duration_in_words(build.finished_at, build.started_at)} + = duration_in_numbers(build.finished_at, build.started_at) - if build.finished_at %p.finished-at = icon("calendar") |