2019-12-18 12:07:48 +00:00
|
|
|
%section.js-autodevops-banner.gl-banner{ data: { uid: 'auto_devops_settings_dismissed', project_path: project_path(@project) } }
|
|
|
|
.gl-banner-illustration
|
|
|
|
= image_tag('illustrations/autodevops.svg')
|
2017-09-01 11:18:00 +00:00
|
|
|
|
2019-12-18 12:07:48 +00:00
|
|
|
.gl-banner-content
|
|
|
|
%h1.gl-banner-title= s_('AutoDevOps|Auto DevOps')
|
2017-10-16 16:16:42 +00:00
|
|
|
%p= s_('AutoDevOps|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_to_documentation}').html_safe % { link_to_documentation: link }
|
2019-12-18 12:07:48 +00:00
|
|
|
= link_to s_('AutoDevOps|Enable in settings'), project_settings_ci_cd_path(@project, anchor: 'autodevops-settings'), class: 'btn btn-md new-gl-button js-close-callout'
|
2017-10-16 16:16:42 +00:00
|
|
|
|
2019-12-18 12:07:48 +00:00
|
|
|
%button.gl-banner-close.close.js-close-callout{ type: 'button',
|
2020-05-15 12:08:28 +00:00
|
|
|
'aria-label' => s_('AutoDevOps|Dismiss Auto DevOps box') }
|
2020-09-14 09:09:34 +00:00
|
|
|
= sprite_icon('close', size: 16, css_class: 'dismiss-icon')
|