2017-10-05 10:48:22 +00:00
|
|
|
- confirmation_link = confirmation_url(@resource, confirmation_token: @token)
|
2020-07-14 03:09:24 +00:00
|
|
|
- if @resource.unconfirmed_email.present? || !@resource.created_recently?
|
2017-09-06 16:28:09 +00:00
|
|
|
#content
|
2020-07-14 03:09:24 +00:00
|
|
|
= email_default_heading(@resource.unconfirmed_email || @resource.email)
|
2021-04-12 21:11:12 +00:00
|
|
|
%p= _('Click the link below to confirm your email address.')
|
2017-09-06 16:39:55 +00:00
|
|
|
#cta
|
2021-04-12 21:11:12 +00:00
|
|
|
= link_to _('Confirm your email address'), confirmation_link
|
2017-09-06 16:28:09 +00:00
|
|
|
- else
|
|
|
|
#content
|
|
|
|
- if Gitlab.com?
|
2021-04-12 21:11:12 +00:00
|
|
|
= email_default_heading(_('Thanks for signing up to GitLab!'))
|
2017-09-06 16:28:09 +00:00
|
|
|
- else
|
2021-04-12 21:11:12 +00:00
|
|
|
= email_default_heading(_("Welcome, %{name}!") % { name: @resource.name })
|
|
|
|
%p= _("To get started, click the link below to confirm your account.")
|
2017-09-06 16:39:55 +00:00
|
|
|
#cta
|
2021-04-12 21:11:12 +00:00
|
|
|
= link_to _('Confirm your account'), confirmation_link
|