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_invalidated.html.erb

9 lines
359 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<%= t('.body.training_invalidated_html', {
TRAINING: @attached_object.name,
MACHINES: @attached_object.machines.map(&:name).join(', '),
DATE: I18n.l((DateTime.current - @attached_object.authorization_period.months).to_date),
PERIOD: @attached_object.authorization_period
}) %>