=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|Something went wrong while creating your cluster on Google Container Engine')
-ifcan?(current_user,:update_cluster,@cluster)
%p.js-error-reason
=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
-else
=s_('ClusterIntegration|Cluster integration is enabled for this project.')
=s_('ClusterIntegration|Cluster integration is disabled 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.')
%p=s_('ClusterIntegration|Manage Cluster integration on your GitLab 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"})