blob: 9d469ff6e7b9796a65c9dcf1c2134234f6ab9b29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
- confirmation_link = confirmation_url(@resource, confirmation_token: @token)
- if @resource.unconfirmed_email.present? || !@resource.created_recently?
#content
= email_default_heading(@resource.unconfirmed_email || @resource.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, %{name}!") % { name: @resource.name })
%p= _("To get started, click the link below to confirm your account.")
#cta
= link_to _('Confirm your account'), confirmation_link
|