File: _auto_devops_callout.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (13 lines) | stat: -rw-r--r-- 987 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
%div{ class: '!gl-pt-5' }
  = render Pajamas::BannerComponent.new(button_text: s_('AutoDevOps|Enable in settings'),
    button_link: project_settings_ci_cd_path(@project, anchor: 'autodevops-settings'),
    svg_path: 'illustrations/devops-sm.svg',
    banner_options: { class: 'js-autodevops-banner auto-devops-callout', data: { uid: 'auto_devops_settings_dismissed', project_path: project_path(@project) } },
    close_options: { 'aria-label' => s_('AutoDevOps|Dismiss Auto DevOps box'), class: 'js-close-callout' }) do |c|
    - c.with_title do
      = s_('AutoDevOps|Auto DevOps')

    %p
      - link = link_to(s_('AutoDevOps|Auto DevOps documentation'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer')
      = s_('AutoDevOps|Automatically build, test, and deploy your application based on a predefined CI/CD configuration.')
      = s_('AutoDevOps|Learn more in the %{link_to_documentation}.').html_safe % { link_to_documentation: link }