diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-05 18:49:27 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-05 18:49:27 +0800 |
commit | 6e1a06d8cd761692596696ab4e17ccaf0c68519d (patch) | |
tree | ab274f9ae23f39e4afc1697829f3685c412ad873 /app/views/projects/pipelines/_info.html.haml | |
parent | d071f61b0de12a57012ed1c77634b54fa83615a7 (diff) | |
download | gitlab-ce-6e1a06d8cd761692596696ab4e17ccaf0c68519d.tar.gz |
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.haml | 3 |
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 |