gitlab-org--gitlab-foss/app/views/projects/clusters/new.html.haml

21 lines
1.1 KiB
Text
Raw Normal View History

- breadcrumb_title "Cluster"
2017-11-03 08:57:10 -04:00
- page_title _("Cluster")
.row.prepend-top-default
2017-10-04 18:47:03 -04:00
.col-sm-4
= render 'sidebar'
.col-sm-8
- if @project.deployment_platform&.active?
2017-11-03 06:52:29 -04:00
%h4.prepend-top-0= s_('ClusterIntegration|Cluster management')
2017-11-03 06:52:29 -04:00
%p= s_('ClusterIntegration|A cluster has been set up on this project through the Kubernetes integration page')
= link_to s_('ClusterIntegration|Manage Kubernetes integration'), edit_project_service_path(@project, :kubernetes), class: 'btn append-bottom-20'
- else
%h4.prepend-top-0= s_('ClusterIntegration|Choose how to set up cluster integration')
2017-11-17 12:53:53 -05:00
%p= s_('ClusterIntegration|Create a new cluster on Google Engine right from GitLab')
2017-11-03 06:52:29 -04:00
= link_to s_('ClusterIntegration|Create on GKE'), providers_gcp_new_namespace_project_clusters_path(@project.namespace, @project), class: 'btn append-bottom-20'
2017-11-17 12:53:53 -05:00
%p= s_('ClusterIntegration|Enter the details for an existing Kubernetes cluster')
= link_to s_('ClusterIntegration|Add an existing cluster'), platforms_kubernetes_new_namespace_project_clusters_path(@project.namespace, @project), class: 'btn append-bottom-20'