Skip to content
Snippets Groups Projects
Verified Commit 74bdaae6 authored by Matija Čupić's avatar Matija Čupić
Browse files

Add link to create Google account in clusters page

parent 5f129bde
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,6 +11,8 @@
- if @authorize_url
= link_to @authorize_url do
= image_tag('auth_buttons/signin_with_google.png', width: '191px')
= s_('ClusterIntegration|or create a new')
= link_to('Google account', 'https://accounts.google.com/signup', 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 }
Loading
Loading
@@ -201,6 +201,7 @@ feature 'Clusters', :js do
 
it 'user sees a login page' do
expect(page).to have_css('.signin-with-google')
expect(page).to have_link('Google account')
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment