diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-10 17:45:30 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-10 18:12:02 +0300 |
commit | 21fdc1edaecf228c1fdc540375bbdad0fd69164a (patch) | |
tree | 8da76adcca752e497daa559ca7667787d20c3003 /app/views/projects/pipelines/_info.html.haml | |
parent | 831b6c8fda1adec32c0719500ad3e830284fb2af (diff) |
Cleanup the use of duration and optimize some queries
Diffstat (limited to 'app/views/projects/pipelines/_info.html.haml')
-rw-r--r-- | app/views/projects/pipelines/_info.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml index a0f6c19350d..063e83a407a 100644 --- a/app/views/projects/pipelines/_info.html.haml +++ b/app/views/projects/pipelines/_info.html.haml @@ -7,9 +7,9 @@ - if @pipeline.ref for = link_to @pipeline.ref, namespace_project_commits_path(@project.namespace, @project, @pipeline.ref), class: "monospace" - - if @pipeline.wall_clock_duration + - if @pipeline.duration in - = time_interval_in_words(@pipeline.wall_clock_duration) + = time_interval_in_words(@pipeline.duration) .pull-right = link_to namespace_project_pipeline_path(@project.namespace, @project, @pipeline), class: "ci-status ci-#{@pipeline.status}" do |