Merge branch 'gt-change-auto-devops-banner-link-path' into 'master'

Change auto devops banner link path

Closes #54689

See merge request gitlab-org/gitlab-ce!23476
This commit is contained in:
Achilleas Pipinellis 2018-12-03 08:55:40 +00:00
commit 99cf483ef0

View file

@ -1,6 +1,6 @@
- if show_auto_devops_implicitly_enabled_banner?(project)
.auto-devops-implicitly-enabled-banner.alert.alert-warning
- more_information_link = link_to _('More information'), 'https://docs.gitlab.com/ee/topics/autodevops/', class: 'alert-link'
- more_information_link = link_to _('More information'), help_page_path('topics/autodevops/index.md'), target: '_blank', class: 'alert-link'
- auto_devops_message = s_("AutoDevOps|The Auto DevOps pipeline has been enabled and will be used if no alternative CI configuration file is found. %{more_information_link}") % { more_information_link: more_information_link }
= auto_devops_message.html_safe
.alert-link-group