1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/api/notifications/_notify_admin_subscribed_plan.json.jbuilder
2021-09-21 18:00:48 +02:00

5 lines
305 B
Ruby

json.title notification.notification_type
json.description t('.subscription_PLAN_has_been_subscribed_by_USER_html',
PLAN: notification.attached_object.plan.base_name,
USER: notification.attached_object.user&.profile&.full_name || t('api.notifications.deleted_user'))