Welcome to mirror list, hosted at ThFree Co, Russian Federation.

almost_there.haml « confirmations « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8075697b7581f0022e0a5c9a1bc1c05d9a52b868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- user_email = "(#{params[:email]})" if Devise.email_regexp.match?(params[:email])
- request_link_start = '<a href="%{new_user_confirmation_path}">'.html_safe % { new_user_confirmation_path: new_user_confirmation_path }
- registration_link_start = '<a href="%{new_user_registration_path}">'.html_safe % { new_user_registration_path: new_user_registration_path }
- link_end = '</a>'.html_safe
- content_for :page_specific_javascripts do
  = render_if_exists "layouts/google_tag_manager_head"
  = render "layouts/one_trust"
  = render "layouts/bizible"
= render_if_exists "layouts/google_tag_manager_body"

= render_if_exists 'devise/shared/delete_unconfirmed_users_flash'

.well-confirmation.gl-text-center.gl-mb-6
  %h1.gl-mt-0
    = _("Almost there...")
  %p{ class: 'gl-mb-6 gl-font-lg!' }
    = _('Please check your email %{email} to confirm your account') % { email: user_email }
    %br
    = _('If the email address is incorrect, you can %{registration_link_start}register again with a different email%{registration_link_end}.').html_safe % { registration_link_start: registration_link_start, registration_link_end: link_end }
  %hr
- if Gitlab::CurrentSettings.after_sign_up_text.present?
  .well-confirmation.gl-text-center
    = markdown_field(Gitlab::CurrentSettings, :after_sign_up_text)
%p.gl-text-center
  = _("No confirmation email received? Check your spam folder or %{request_link_start}request new confirmation email%{request_link_end}.").html_safe % { request_link_start: request_link_start, request_link_end: link_end }