debian-mirror-gitlab/app/views/devise/mailer/_confirmation_instructions_account.html.haml

17 lines
684 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- confirmation_link = confirmation_url(@resource, confirmation_token: @token)
2020-07-28 23:09:34 +05:30
- if @resource.unconfirmed_email.present? || !@resource.created_recently?
2018-03-17 18:26:18 +05:30
#content
2020-07-28 23:09:34 +05:30
= email_default_heading(@resource.unconfirmed_email || @resource.email)
2018-03-17 18:26:18 +05:30
%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