summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDennis Tang <dtang@gitlab.com>2018-06-05 15:37:21 -0700
committerDennis Tang <dtang@gitlab.com>2018-06-05 15:37:21 -0700
commit8e4544ce8d03ecdec2202e2b20b2a598fa37cea4 (patch)
tree538ef6ec662b8a3426ac175b87e00298d0518387 /app
parent313da6d3d03bb2b3a00071d1228f5b342e92abc4 (diff)
downloadgitlab-ce-8e4544ce8d03ecdec2202e2b20b2a598fa37cea4.tar.gz
fix blank space after google signin image
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/clusters/new.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/clusters/new.html.haml b/app/views/projects/clusters/new.html.haml
index ebbfe2d7fd5..945ac192d74 100644
--- a/app/views/projects/clusters/new.html.haml
+++ b/app/views/projects/clusters/new.html.haml
@@ -23,8 +23,7 @@
- if @valid_gcp_token
= render 'projects/clusters/gcp/form'
- elsif @authorize_url
- = link_to @authorize_url do
- = image_tag('auth_buttons/signin_with_google.png', width: '191px', class: '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