_empty_state.html.haml 818 字节
Newer Older
1 2
.row.empty-state
  .col-xs-12
F
Filipa Lacerda 已提交
3
    .svg-content= image_tag 'illustrations/clusters_empty.svg'
4
  .col-xs-12
5
    .text-content
6
      %h4.text-center= s_('ClusterIntegration|Integrate Kubernetes cluster automation')
7
      - link_to_help_page = link_to(_('Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
8
      %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}
9

10 11 12
      - 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'