2024-01-15 18:18:59 +00:00
|
|
|
= content_for :heading do
|
2024-10-28 13:41:56 +00:00
|
|
|
= render 'application/mailer/heading',
|
|
|
|
image_url: frontend_asset_url('images/mailer-new/heading/appeal-approved.png'),
|
|
|
|
subtitle: t('user_mailer.appeal_approved.subtitle'),
|
|
|
|
title: t('user_mailer.appeal_approved.title')
|
2024-01-15 18:18:59 +00: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 'user_mailer.appeal_approved.explanation',
|
|
|
|
appeal_date: l(@appeal.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone),
|
|
|
|
strike_date: l(@appeal.strike.created_at.in_time_zone(@resource.time_zone.presence), format: :with_time_zone)
|
|
|
|
= render 'application/mailer/button', text: t('user_mailer.appeal_approved.action'), url: root_url
|