0c0c2ecd99
# Conflicts: # app/controllers/admin/users_controller.rb # app/controllers/confirmations_controller.rb # app/controllers/profiles/emails_controller.rb # app/models/user.rb # app/services/emails/base_service.rb # app/services/emails/destroy_service.rb # app/views/devise/mailer/confirmation_instructions.html.haml # lib/api/users.rb # spec/services/emails/destroy_service_spec.rb
16 lines
633 B
Text
16 lines
633 B
Text
- confirmation_link = confirmation_url(@resource, confirmation_token: @token)
|
|
- if @resource.unconfirmed_email.present?
|
|
#content
|
|
= email_default_heading(@resource.unconfirmed_email)
|
|
%p Click the link below to confirm your email address.
|
|
#cta
|
|
= link_to 'Confirm your email address', confirmation_link
|
|
- else
|
|
#content
|
|
- if Gitlab.com?
|
|
= email_default_heading('Thanks for signing up to GitLab!')
|
|
- else
|
|
= email_default_heading("Welcome, #{@resource.name}!")
|
|
%p To get started, click the link below to confirm your account.
|
|
#cta
|
|
= link_to 'Confirm your account', confirmation_link
|