summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kutelev <alexander@kutelev.ru>2018-08-16 06:30:15 +0000
committerAlexander Kutelev <alexander@kutelev.ru>2018-08-16 06:30:15 +0000
commitd9d6b776d7671fe075a65d640bf6c2e41d93a3ec (patch)
treeeaae1082903f07375c02c1a940f5e49bee21ddbb
parent79fdfec51fa7f42f698b898dbf9ad4925aa9fdbf (diff)
downloadgitlab-ce-d9d6b776d7671fe075a65d640bf6c2e41d93a3ec.tar.gz
Added missing html_safe on text messages.
-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