=s_('ClusterIntegration|Cluster was successfully created on Google Container Engine. Refresh the page to see cluster\'s details')
%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 disabled for this project.')
%h4.prepend-top-0=s_('ClusterIntegration|Choose how to set up cluster integration')
%p=s_('ClusterIntegration|Create a new cluster on Google Container Engine right from GitLab')
=link_tos_('ClusterIntegration|Create on GKE'),providers_gcp_new_namespace_project_clusters_path(@project.namespace,@project),class: 'btn append-bottom-20'
%p=s_('ClusterIntegration|Create a new cluster on Google Engine right from GitLab')
=link_tos_('ClusterIntegration|Create on GKE'),gcp_new_namespace_project_clusters_path(@project.namespace,@project),class: 'btn append-bottom-20'
%p=s_('ClusterIntegration|Enter the details for an existing Kubernetes cluster')
=link_tos_('ClusterIntegration|Add an existing cluster'),edit_project_service_path(@project,:kubernetes),class: 'btn append-bottom-20'
=link_tos_('ClusterIntegration|Add an existing cluster'),user_new_namespace_project_clusters_path(@project.namespace,@project),class: 'btn append-bottom-20'
=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 disabled for this project.')
=s_('ClusterIntegration|Please enter access information for your cluster. If you need help, you can read our %{link_to_help_page} on clusters').html_safe%{link_to_help_page: link_to_help_page}