summaryrefslogtreecommitdiff
path: root/app/views/projects/clusters/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/clusters/new.html.haml')
-rw-r--r--app/views/projects/clusters/new.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/clusters/new.html.haml b/app/views/projects/clusters/new.html.haml
index 11b7c363553..d3b3bf2a2fe 100644
--- a/app/views/projects/clusters/new.html.haml
+++ b/app/views/projects/clusters/new.html.haml
@@ -7,7 +7,7 @@
.row.prepend-top-default
.col-md-3
- = render 'projects/clusters/sidebar'
+ = render 'sidebar'
.col-md-9.js-toggle-container
%ul.nav-links.nav-tabs.gitlab-tabs.nav{ role: 'tablist' }
%li.nav-item{ role: 'presentation' }
@@ -15,16 +15,16 @@
%span Create new Cluster on GKE
%li.nav-item{ role: 'presentation' }
%a.nav-link{ href: '#add-user-cluster-pane', id: 'add-user-cluster-tab', class: active_when(active_tab == 'user'), data: { toggle: 'tab' }, role: 'tab' }
- %span Add existing cluster
+ %span Add user cluster
.tab-content.gitlab-tab-content
.tab-pane{ id: 'create-gcp-cluster-pane', class: active_when(active_tab == 'gcp'), role: 'tabpanel' }
= render 'projects/clusters/gcp/header'
- - if valid_gcp_token
+ - if @valid_gcp_token
= render 'projects/clusters/gcp/form'
- - elsif gcp_authorize_url
+ - elsif @authorize_url
.signin-with-google
- = link_to(image_tag('auth_buttons/signin_with_google.png', width: '191px'), gcp_authorize_url)
+ = link_to(image_tag('auth_buttons/signin_with_google.png', width: '191px'), @authorize_url)
= _('or')
= link_to('create a new Google account', 'https://accounts.google.com/SignUpWithoutGmail?service=cloudconsole&continue=https%3A%2F%2Fconsole.cloud.google.com%2Ffreetrial%3Futm_campaign%3D2018_cpanel%26utm_source%3Dgitlab%26utm_medium%3Dreferral', target: '_blank', rel: 'noopener noreferrer')
- else