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_member_training_auto_cancelled.html.erb
2023-04-24 19:17:07 +02:00

14 lines
465 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p>
<%= t('.body.cancelled_training', **{
TRAINING: @attached_object.reservation.reservable.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') : '' %>
</p>