2024-01-15 19:18:59 +01:00
|
|
|
= content_for :heading do
|
2024-01-17 13:19:51 +01:00
|
|
|
= render 'application/mailer/heading', heading_title: t('devise.mailer.confirmation_instructions.title'), heading_image_url: frontend_asset_url('images/mailer-new/heading/email.png')
|
2024-01-15 19:18:59 +01:00
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%td.email-body-padding-td
|
|
|
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%td.email-inner-card-td.email-prose
|
|
|
|
%p= t @resource.approved? ? 'devise.mailer.confirmation_instructions.explanation' : 'devise.mailer.confirmation_instructions.explanation_when_pending', host: site_hostname
|
|
|
|
- if @resource.created_by_application
|
2024-02-02 16:51:26 +01:00
|
|
|
= render 'application/mailer/button', text: t('devise.mailer.confirmation_instructions.action_with_app', app: @resource.created_by_application.name), url: confirmation_url(@resource, confirmation_token: @token, redirect_to_app: 'true')
|
2024-01-15 19:18:59 +01:00
|
|
|
- else
|
|
|
|
= render 'application/mailer/button', text: t('devise.mailer.confirmation_instructions.action'), url: confirmation_url(@resource, confirmation_token: @token)
|
|
|
|
%p= t 'devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: privacy_policy_url
|