diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-10 22:45:30 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-10 23:12:02 +0800 |
commit | 21fdc1edaecf228c1fdc540375bbdad0fd69164a (patch) | |
tree | 8da76adcca752e497daa559ca7667787d20c3003 /app/views/admin | |
parent | 831b6c8fda1adec32c0719500ad3e830284fb2af (diff) | |
download | gitlab-ce-21fdc1edaecf228c1fdc540375bbdad0fd69164a.tar.gz |
Cleanup the use of duration and optimize some queries
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/builds/_build.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/builds/_build.html.haml b/app/views/admin/builds/_build.html.haml index 352adbedee4..f29d9c94441 100644 --- a/app/views/admin/builds/_build.html.haml +++ b/app/views/admin/builds/_build.html.haml @@ -51,7 +51,7 @@ - if build.duration %p.duration = custom_icon("icon_timer") - = duration_in_numbers(build.finished_at, build.started_at) + = duration_in_numbers(build.duration) - if build.finished_at %p.finished-at |