summaryrefslogtreecommitdiff
path: root/app/views/clusters/_empty_state.html.haml
blob: 800e76d92ef8002f524d806ca34c03ff0eea7d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.row.empty-state
  .col-12
    .svg-content= image_tag 'illustrations/clusters_empty.svg'
  .col-12
    .text-content
      %h4.text-center= s_('ClusterIntegration|Integrate Kubernetes cluster automation')
      - link_to_help_page = link_to(_('Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
      %p= s_('ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}').html_safe % { link_to_help_page: link_to_help_page}

      - if clusterable.can_create_cluster?
        .text-center
          = link_to s_('ClusterIntegration|Add Kubernetes cluster'), clusterable.new_path, class: 'btn btn-success'