1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/app/views/api/notifications/_notify_admin_reservation_invalidated.json.jbuilder

5 lines
307 B
Ruby

json.title notification.notification_type
json.description t('.a_RESERVABLE_reservation_was_invalidated_html',
RESERVABLE: notification.attached_object.reservable.name,
NAME: notification.attached_object.user&.profile&.full_name || t('api.notifications.deleted_user'))