1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-03 14:24:23 +01:00
fab-manager/app/views/api/notifications/_notify_admin_reservation_validated.json.jbuilder

5 lines
305 B
Ruby

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