debian-mirror-gitlab/app/views/clusters/clusters/_buttons.html.haml
2019-02-15 15:39:39 +05:30

6 lines
294 B
Text

.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")