Just use string interpolation, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6084#note_15026132
This commit is contained in:
parent
61bc90af0e
commit
7b75476610
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue