summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-27 09:44:12 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-09-27 09:44:12 +0100
commitb4e9a79ff5c15ac07956f335a80dd468c8bdcf26 (patch)
tree2872c5683ff934fd7475a56d401cb5a55bd7def1
parent966b34098cbf90b9edab113ba434e0f476b1c022 (diff)
downloadgitlab-ce-b4e9a79ff5c15ac07956f335a80dd468c8bdcf26.tar.gz
Improves variable name
-rw-r--r--app/views/shared/_auto_devops_callout.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_auto_devops_callout.html.haml b/app/views/shared/_auto_devops_callout.html.haml
index 88e1ed301d4..7c633175a06 100644
--- a/app/views/shared/_auto_devops_callout.html.haml
+++ b/app/views/shared/_auto_devops_callout.html.haml
@@ -10,6 +10,6 @@
%p= s_('AutoDevOps|Auto DevOps can be activated for this project. It will automatically build, test, and deploy your application based on a predefined CI/CD configuration.')
%p
- link = link_to(s_('AutoDevOps|Auto DevOps documentation'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer')
- = s_('AutoDevOps|Learn more in the %{link}').html_safe % { link: link }
+ = s_('AutoDevOps|Learn more in the %{link_to_documentation}').html_safe % { link_to_documentation: link }
= link_to s_('AutoDevOps|Enable in settings'), project_settings_ci_cd_path(@project, anchor: 'js-general-pipeline-settings'), class: 'btn btn-primary js-close-callout'