summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-08-16 07:14:59 +0000
committerStan Hu <stanhu@gmail.com>2018-08-16 07:14:59 +0000
commita2d647b1137821ef87fc177ac85ac775f2ce55c1 (patch)
treeeaae1082903f07375c02c1a940f5e49bee21ddbb
parent79fdfec51fa7f42f698b898dbf9ad4925aa9fdbf (diff)
parentd9d6b776d7671fe075a65d640bf6c2e41d93a3ec (diff)
downloadgitlab-ce-a2d647b1137821ef87fc177ac85ac775f2ce55c1.tar.gz
Merge branch 'master' into 'master'
Added missing html_safe on text messages. See merge request gitlab-org/gitlab-ce!21232
-rw-r--r--app/views/projects/settings/ci_cd/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/settings/ci_cd/_form.html.haml b/app/views/projects/settings/ci_cd/_form.html.haml
index 434aed2f603..9134257b631 100644
--- a/app/views/projects/settings/ci_cd/_form.html.haml
+++ b/app/views/projects/settings/ci_cd/_form.html.haml
@@ -17,7 +17,7 @@
%h5.prepend-top-0
= _("Git strategy for pipelines")
%p
- = _("Choose between <code>clone</code> or <code>fetch</code> to get the recent application code")
+ = _("Choose between <code>clone</code> or <code>fetch</code> to get the recent application code").html_safe
= link_to icon('question-circle'), help_page_path('user/project/pipelines/settings', anchor: 'git-strategy'), target: '_blank'
.form-check
= f.radio_button :build_allow_git_fetch, 'false', { class: 'form-check-input' }
@@ -47,7 +47,7 @@
= f.label :ci_config_path, _('Custom CI config path'), class: 'label-bold'
= f.text_field :ci_config_path, class: 'form-control', placeholder: '.gitlab-ci.yml'
%p.form-text.text-muted
- = _("The path to CI config file. Defaults to <code>.gitlab-ci.yml</code>")
+ = _("The path to CI config file. Defaults to <code>.gitlab-ci.yml</code>").html_safe
= link_to icon('question-circle'), help_page_path('user/project/pipelines/settings', anchor: 'custom-ci-config-path'), target: '_blank'
%hr