Welcome to mirror list, hosted at ThFree Co, Russian Federation.

confirmation_instructions.html.haml « mailer « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9e13a636d7b2756e21b7efd6dca2dee7120330b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- if @resource.is_a?(Email)
  = render partial: 'confirmation_instructions_secondary'
- else
  - 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_url(@resource, confirmation_token: @token)
  - 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_url(@resource, confirmation_token: @token)