Commit 6b5cb245 authored by Annabel Dunstone's avatar Annabel Dunstone

Update duration representation on builds pages

parent 843ac2a3
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
- if build.duration - if build.duration
%p.duration %p.duration
= custom_icon("icon_timer") = 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 - if build.finished_at
%p.finished-at %p.finished-at
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
- if build.duration - if build.duration
%p.duration %p.duration
= custom_icon("icon_timer") = 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 - if build.finished_at
%p.finished-at %p.finished-at
= icon("calendar") = icon("calendar")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment