BigW Consortium Gitlab

confirmation_instructions.html.haml 595 Bytes
.center
  - if @resource.unconfirmed_email.present?
    #content
      %h2= @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?
        %h2 Thanks for signing up to GitLab!
      - else
        %h2 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)