diff options
author | Dennis Tang <dtang@gitlab.com> | 2018-06-05 17:06:54 -0700 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2018-06-05 17:06:54 -0700 |
commit | 151b6b2b2b60debccdf09eda5dbe9be31cc395f6 (patch) | |
tree | 446f35031a1d230dd567861a1c810a3d41055138 | |
parent | 8e4544ce8d03ecdec2202e2b20b2a598fa37cea4 (diff) | |
download | gitlab-ce-151b6b2b2b60debccdf09eda5dbe9be31cc395f6.tar.gz |
restore .signin-with-google class for spec tests
-rw-r--r-- | app/views/projects/clusters/new.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/clusters/new.html.haml b/app/views/projects/clusters/new.html.haml index 945ac192d74..b322ad9a844 100644 --- a/app/views/projects/clusters/new.html.haml +++ b/app/views/projects/clusters/new.html.haml @@ -23,9 +23,10 @@ - if @valid_gcp_token = render 'projects/clusters/gcp/form' - elsif @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') + .signin-with-google + = 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 - link = link_to(s_('ClusterIntegration|properly configured'), help_page_path("integration/google"), target: '_blank', rel: 'noopener noreferrer') = s_('Google authentication is not %{link_to_documentation}. Ask your GitLab administrator if you want to use this service.').html_safe % { link_to_documentation: link } |