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

9 lines
563 B
Plaintext
Raw Normal View History

2016-03-23 18:39:41 +01:00
json.title notification.notification_type
json.description _t('.subscription_PLAN_of_the_member_USER_has_been_extended_FREE_until_DATE_html',
{
PLAN: notification.attached_object.plan.base_name,
2019-06-12 15:49:35 +02:00
USER: notification.attached_object.user&.profile&.full_name || t('api.notifications.deleted_user'),
2016-03-23 18:39:41 +01:00
FREE: notification.get_meta_data(:free_days).to_s,
DATE: I18n.l(notification.attached_object.expired_at.to_date)
}) # messageFormat