1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-21 12:29:03 +01:00

restored deprecated notification

This commit is contained in:
Sylvain 2019-02-14 12:47:57 +01:00
parent 9f765009a8
commit 7b573dd37f
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
# @deprecated
# <b>DEPRECATED:</b> Feature removed in v2.8.2
json.title notification.notification_type
json.description _t('.invoices_generation_was_STATUS_for_user_NAME_html',
STATUS: notification.attached_object.invoicing_disabled.to_s,
NAME: notification.attached_object.profile.full_name) # messageFormat
json.url notification_url(notification, format: :json)

View File

@ -1,3 +1,7 @@
# frozen_string_literal: true
# @deprecated
# <b>DEPRECATED:</b> Feature removed in v1 (87dd9ba0 2015-06-04)
json.title notification.notification_type
json.description t('.you_have_changed_your_subscription_to_PLAN_html',
PLAN: notification.attached_object.plan.name)