=s_('ClusterIntegration|Removing cluster integration will remove the cluster configuration you have added to this project. It will not delete your project.')
=link_to(s_('ClusterIntegration|Remove integration'),namespace_project_cluster_path(@project.namespace,@project,@cluster.id),method: :delete,class: 'btn btn-danger',data: {confirm: "Are you sure you want to remove cluster integration from this project? This will not delete your cluster on Google Container Engine"})
=s_('ClusterIntegration|Cluster integration is enabled for this project. Disabling this integration will not affect your cluster, it will only temporarily turn off GitLab\'s connection to it.')
=s_('ClusterIntegration|Cluster was successfully created on Google Container Engine')
%p
-if@cluster.enabled?
-ifcan?(current_user,:update_cluster,@cluster)
=s_('ClusterIntegration|Cluster integration is enabled for this project. Disabling this integration will not affect your cluster, it will only temporarily turn off GitLab\'s connection to it.')
-else
=s_('ClusterIntegration|Cluster integration is enabled for this project.')
-else
=s_('ClusterIntegration|Cluster integration is enabled for this project.')
-else
=s_('ClusterIntegration|Cluster integration is disabled for this project.')
=s_('ClusterIntegration|Cluster integration is disabled for this project.')
=s_('ClusterIntegration|Removing cluster integration will remove the cluster configuration you have added to this project. It will not delete your project.')
=link_to(s_('ClusterIntegration|Remove integration'),namespace_project_cluster_path(@project.namespace,@project,@cluster.id),method: :delete,class: 'btn btn-danger',data: {confirm: "Are you sure you want to remove cluster integration from this project? This will not delete your cluster on Google Container Engine"})
%section.settings#js-cluster-advanced-settings
.settings-header
%h4=s_('ClusterIntegration|Advanced settings')
%button.btn.js-settings-toggle
=expanded?'Collapse':'Expand'
%p=s_('ClusterIntegration|Manage Cluster integration on your GitLab project')