summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_deprecation_alert.html.haml
blob: 202e2c14d3fe9e9238b5f6dafb8acbf899ce99f9 (plain)
1
2
3
4
5
6
7
= render Pajamas::AlertComponent.new(variant: :warning, dismissible: false, alert_class: 'gl-mt-6 gl-mb-3') do
  .gl-alert-body
    - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe
    - issue_link_start = link_start % { url: 'https://gitlab.com/gitlab-org/configure/general/-/issues/199' }
    - docs_link_start = link_start % { url: help_page_path('user/clusters/agent/index.md') }
    - link_end = '</a>'.html_safe
    = s_('ClusterIntegration|This process is %{issue_link_start}deprecated%{issue_link_end}. Use the %{docs_link_start}the GitLab agent for Kubernetes%{docs_link_end} instead.').html_safe % { docs_link_start: docs_link_start, docs_link_end: link_end, issue_link_start: issue_link_start, issue_link_end: link_end }