From 7b75476610cd4ac9f1c8b83b721e6bc524b781a1 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Wed, 7 Sep 2016 17:14:35 +0800 Subject: Just use string interpolation, feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_15026132 --- app/views/projects/pipelines/_info.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml index 03f5f55e336..5800ef7de48 100644 --- a/app/views/projects/pipelines/_info.html.haml +++ b/app/views/projects/pipelines/_info.html.haml @@ -11,8 +11,7 @@ in = time_interval_in_words(@pipeline.duration) - if @pipeline.queued_duration - (queued for - = "#{time_interval_in_words(@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 -- cgit v1.2.1