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-09 13:42:42 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-09 13:42:42 +0300
commit5643cd6b497c2850fb585cf263d3019953c282f5 (patch)
tree1137ab93e279fa2ef31525b41b8a19ff60c55350 /app/views/projects/pipelines/_info.html.haml
parent551ffc0a4d25a381e9f8f6a8d6f2793bb87f3145 (diff)
Show wall-clock time when showing pipeline instead of:
cumulative builds time. Closes #17007
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 8289aefcde7..a0f6c19350d 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.duration
+ - if @pipeline.wall_clock_duration
in
- = time_interval_in_words @pipeline.duration
+ = time_interval_in_words(@pipeline.wall_clock_duration)
.pull-right
= link_to namespace_project_pipeline_path(@project.namespace, @project, @pipeline), class: "ci-status ci-#{@pipeline.status}" do