mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
6 lines
380 B
Ruby
6 lines
380 B
Ruby
json.title notification.notification_type
|
|
json.description t('.reminder_you_have_a_reservation_RESERVABLE_to_be_held_on_DATE_html',
|
|
RESERVABLE: notification.attached_object.reservable.name,
|
|
DATE: I18n.l(notification.attached_object.slots.order(:start_at).first.start_at, format: :long))
|
|
json.url notification_url(notification, format: :json)
|