=s_('ClusterIntegration|Cluster integration is enabled for this project.')
-# else
=s_('ClusterIntegration|Cluster integration is disabled for this project.')
-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 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.')
=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"})