1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_training_auto_cancelled.html.erb

14 lines
478 B
Plaintext
Raw Normal View History

2023-01-24 17:09:56 +01:00
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p>
<%= t('.body.cancelled_training', {
TRAINING: @attached_object.trainings.first.name,
DATE: I18n.l(@attached_object.start_at.to_date),
START: I18n.l(@attached_object.start_at, format: :hour_minute),
END: I18n.l(@attached_object.end_at, format: :hour_minute)
}) %>
</p>
<p>
<%= @notification.get_meta_data(:auto_refund) ? t('.body.auto_refund') : t('.body.manual_refund') %>
</p>