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-09-05 13:49:27 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-09-05 13:49:27 +0300
commit6e1a06d8cd761692596696ab4e17ccaf0c68519d (patch)
treeab274f9ae23f39e4afc1697829f3685c412ad873 /app/views/projects/pipelines/_info.html.haml
parentd071f61b0de12a57012ed1c77634b54fa83615a7 (diff)
Show how long this pipeline was queued
Closes #19804
Diffstat (limited to 'app/views/projects/pipelines/_info.html.haml')
-rw-r--r--app/views/projects/pipelines/_info.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml
index 063e83a407a..03f5f55e336 100644
--- a/app/views/projects/pipelines/_info.html.haml
+++ b/app/views/projects/pipelines/_info.html.haml
@@ -10,6 +10,9 @@
- if @pipeline.duration
in
= time_interval_in_words(@pipeline.duration)
+ - if @pipeline.queued_duration
+ (queued for
+ = "#{time_interval_in_words(@pipeline.queued_duration)})"
.pull-right
= link_to namespace_project_pipeline_path(@project.namespace, @project, @pipeline), class: "ci-status ci-#{@pipeline.status}" do