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:
authorStan Hu <stanhu@gmail.com>2018-07-28 01:33:15 +0300
committerStan Hu <stanhu@gmail.com>2018-07-28 01:33:15 +0300
commit35ce06add8ee414e2694017126f12d47e9c9bf27 (patch)
treece064d380909de9e2fa7004ee69a31ea88a47d50
parent7553046b8a469a3aec76733cf17a7e1441256f0d (diff)
parent8e9c787794b19759c17e83f13e770c0ff40fd8ca (diff)
Merge branch '49681-dup-before-sanitize' into 'master'
Resolve "Red master: can't modify frozen String in app/views/projects/jobs/_sidebar.html.haml" Closes #49681 See merge request gitlab-org/gitlab-ce!20869
-rw-r--r--app/views/projects/jobs/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/jobs/_sidebar.html.haml b/app/views/projects/jobs/_sidebar.html.haml
index 64c441492bc..759efd4e9d4 100644
--- a/app/views/projects/jobs/_sidebar.html.haml
+++ b/app/views/projects/jobs/_sidebar.html.haml
@@ -86,7 +86,7 @@
- HasStatus::ORDERED_STATUSES.each do |build_status|
- builds.select{|build| build.status == build_status}.each do |build|
.build-job{ class: sidebar_build_class(build, @build), data: { stage: build.stage } }
- - tooltip = sanitize(build.tooltip_message)
+ - tooltip = sanitize(build.tooltip_message.dup)
= link_to(project_job_path(@project, build), data: { toggle: 'tooltip', html: 'true', title: tooltip, container: 'body' }) do
= sprite_icon('arrow-right', size:16, css_class: 'icon-arrow-right')
%span{ class: "ci-status-icon-#{build.status}" }