summaryrefslogtreecommitdiff
path: root/app/views/projects/clusters/_empty_state.html.haml
blob: b8a3556a206683b20768c30322478759c7eabe01 (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 can?(current_user, :create_cluster, @project)
        .text-center
          = link_to s_('ClusterIntegration|Add Kubernetes cluster'), new_project_cluster_path(@project), class: 'btn btn-success'