summaryrefslogtreecommitdiff
path: root/app/views/shared/_auto_devops_callout.html.haml
blob: 7c633175a068edd47ddb01da7f1b6885242d5fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.user-callout{ data: { uid: 'auto_devops_settings_dismissed', project_path: project_path(@project) } }
  .bordered-box.landing.content-block
    %button.btn.btn-default.close.js-close-callout{ type: 'button',
      'aria-label' => 'Dismiss Auto DevOps box' }
      = icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
    .svg-container
      = custom_icon('icon_autodevops')
    .user-callout-copy
      %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.')
      %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 }

      = 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'