debian-mirror-gitlab/app/views/shared/_auto_devops_callout.html.haml

16 lines
1 KiB
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
%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')
2018-03-17 18:26:18 +05:30
2020-03-13 15:44:24 +05:30
.gl-banner-content
%h1.gl-banner-title= s_('AutoDevOps|Auto DevOps')
2018-03-17 18:26:18 +05:30
%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 }
2021-03-11 19:13:27 +05:30
= link_to s_('AutoDevOps|Enable in settings'), project_settings_ci_cd_path(@project, anchor: 'autodevops-settings'), class: 'btn btn-md btn-default gl-button js-close-callout'
2018-03-17 18:26:18 +05:30
2020-03-13 15:44:24 +05:30
%button.gl-banner-close.close.js-close-callout{ type: 'button',
2020-05-24 23:13:21 +05:30
'aria-label' => s_('AutoDevOps|Dismiss Auto DevOps box') }
2020-11-24 15:15:51 +05:30
= sprite_icon('close', size: 16, css_class: 'dismiss-icon')