summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-07 17:14:35 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-07 17:14:35 +0800
commit7b75476610cd4ac9f1c8b83b721e6bc524b781a1 (patch)
tree64a36493100288d4266c4b9957cc0b2c567bfd40
parent61bc90af0ea247c5f561d8b71348ab028566033d (diff)
downloadgitlab-ce-7b75476610cd4ac9f1c8b83b721e6bc524b781a1.tar.gz
Just use string interpolation, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_15026132
-rw-r--r--app/views/projects/pipelines/_info.html.haml3
1 files changed, 1 insertions, 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