summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_cluster_list.html.haml
blob: 38ed7e334c954d9143f35f5a5ca5af3babca266f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- if clusters.empty?
  = render 'empty_state'
- else
  .top-area.adjust
    .gl-display-block.gl-text-right.gl-my-4.gl-w-full
      - if clusterable.can_add_cluster?
        = link_to s_('ClusterIntegration|Connect cluster with certificate'), clusterable.new_path, class: 'btn gl-button btn-confirm js-add-cluster gl-py-2', qa_selector: :integrate_kubernetes_cluster_button
      - else
        %span.btn.gl-button.btn-confirm.js-add-cluster.disabled.gl-py-2
          = s_("ClusterIntegration|Connect cluster with certificate")

  #js-clusters-list-app{ data: js_clusters_list_data(clusterable.index_path(format: :json)) }