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

8 lines
392 B
Plaintext
Raw Normal View History

2016-03-23 18:39:41 +01:00
json.title notification.notification_type
json.description t('.subscription_partner_PLAN_has_been_subscribed_by_USER_html',
{
PLAN: notification.attached_object.plan.name,
USER: notification.attached_object.user.profile.full_name
}) # messageFormat
json.url notification_url(notification, format: :json)