2018-01-16 13:29:11 +11:00
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell.hero
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center.padded
|
|
|
|
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td
|
2019-03-16 01:05:31 +11:00
|
|
|
= image_tag full_pack_url('media/images/mailer/icon_email.png'), alt: ''
|
2018-01-16 13:29:11 +11:00
|
|
|
|
|
|
|
%h1= t 'devise.mailer.confirmation_instructions.title'
|
|
|
|
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell.content-start
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center
|
2019-03-14 15:28:30 +11:00
|
|
|
%p= t @resource.approved? ? 'devise.mailer.confirmation_instructions.explanation' : 'devise.mailer.confirmation_instructions.explanation_when_pending', host: site_hostname
|
2018-01-16 13:29:11 +11:00
|
|
|
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.button-cell
|
|
|
|
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.button-primary
|
2018-12-25 05:12:38 +11:00
|
|
|
- if @resource.created_by_application
|
|
|
|
= link_to confirmation_url(@resource, confirmation_token: @token, redirect_to_app: 'true') do
|
|
|
|
%span= t 'devise.mailer.confirmation_instructions.action_with_app', app: @resource.created_by_application.name
|
|
|
|
- else
|
|
|
|
= link_to confirmation_url(@resource, confirmation_token: @token) do
|
|
|
|
%span= t 'devise.mailer.confirmation_instructions.action'
|
2018-01-16 13:29:11 +11:00
|
|
|
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.text-center
|
|
|
|
%p= t 'devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: terms_url
|