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

17 lines
725 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)
2021-04-29 21:17:54 +05:30
%p= _('Click the link below to confirm your email address.')
2018-03-17 18:26:18 +05:30
#cta
2021-04-29 21:17:54 +05:30
= link_to _('Confirm your email address'), confirmation_link
2018-03-17 18:26:18 +05:30
- else
#content
- if Gitlab.com?
2021-04-29 21:17:54 +05:30
= email_default_heading(_('Thanks for signing up to GitLab!'))
2018-03-17 18:26:18 +05:30
- else
2021-04-29 21:17:54 +05:30
= email_default_heading(_("Welcome, %{name}!") % { name: @resource.name })
%p= _("To get started, click the link below to confirm your account.")
2018-03-17 18:26:18 +05:30
#cta
2021-04-29 21:17:54 +05:30
= link_to _('Confirm your account'), confirmation_link