Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-10 17:45:30 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-10 18:12:02 +0300
commit21fdc1edaecf228c1fdc540375bbdad0fd69164a (patch)
tree8da76adcca752e497daa559ca7667787d20c3003 /app/views/projects/pipelines/_info.html.haml
parent831b6c8fda1adec32c0719500ad3e830284fb2af (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.haml4
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