summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_buttons.html.haml
blob: c81d1d5b05a987cebfff6f2a2b60dd5340f44645 (plain)
1
2
3
4
5
6
.nav-controls
  - if clusterable.can_add_cluster?
    = link_to s_('ClusterIntegration|Add Kubernetes cluster'), clusterable.new_path, class: 'btn btn-success js-add-cluster'
  - else
    %span.btn.btn-add-cluster.disabled.js-add-cluster
      = s_("ClusterIntegration|Add Kubernetes cluster")