login.html.haml 657 Bytes
Newer Older
1 2 3
- breadcrumb_title "Cluster"
- page_title _("Login")

4
.row.prepend-top-default
Filipa Lacerda's avatar
Filipa Lacerda committed
5 6 7 8
  .col-sm-4
    = render 'sidebar'
  .col-sm-8
    = render 'header'
9
.row
10
  .col-sm-8.col-sm-offset-4.signin-with-google
11
    - if @authorize_url
Filipa Lacerda's avatar
Filipa Lacerda committed
12
      = link_to @authorize_url do
13
        = image_tag('auth_buttons/signin_with_google.png')
Filipa Lacerda's avatar
Filipa Lacerda committed
14 15 16
    - 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 }