gitlab-org--gitlab-foss/app/views/shared/_auto_devops_callout.html.haml

16 lines
1.1 KiB
Plaintext
Raw Normal View History

.user-callout{ data: { uid: 'auto_devops_settings_dismissed', project_path: project_path(@project) } }
2017-09-01 11:18:00 +00:00
.bordered-box.landing.content-block
%button.btn.btn-default.close.js-close-callout{ type: 'button',
2017-09-01 21:18:08 +00:00
'aria-label' => 'Dismiss Auto DevOps box' }
2017-09-01 11:18:00 +00:00
= icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
.svg-container
= custom_icon('icon_autodevops')
.user-callout-copy
2017-09-26 14:23:47 +00:00
%h4= s_('AutoDevOps|Auto DevOps (Beta)')
%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.')
2017-09-01 11:18:00 +00:00
%p
2017-09-26 14:23:47 +00:00
- link = link_to(s_('AutoDevOps|Auto DevOps documentation'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer')
2017-09-27 08:44:12 +00:00
= s_('AutoDevOps|Learn more in the %{link_to_documentation}').html_safe % { link_to_documentation: link }
2017-09-01 11:18:00 +00:00
2017-09-26 14:23:47 +00:00
= 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'