-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MM-2232): Update notification messages to resolve 'too long' mes…
…sages issue.
- Loading branch information
1 parent
8e9b06c
commit c523c3d
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...us-updated/direct-debit-status-updated/in-app-notification/en_US/engagement-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"title": "{{#eq event.status 'REJECTED' }}Direct debit batch rejected{{else}}Direct debit payments rejected{{/eq}}", | ||
"body": "Batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}" | ||
"title": "{{#eq event.status 'REJECTED' }}Batch rejected{{else}}Payments rejected{{/eq}}", | ||
"body": "Direct debit batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}" | ||
} |
2 changes: 1 addition & 1 deletion
2
...nding-approval/direct-debit-to-approve/in-app-notification/en_US/engagement-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"title": "Direct debit batch to approve", | ||
"title": "Batch to approve", | ||
"body": "You have a new direct debit batch of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve" | ||
} |
4 changes: 2 additions & 2 deletions
4
...us-updated/direct-debit-status-updated/in-app-notification/en_US/engagement-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"title": "{{#eq event.status 'REJECTED' }}Direct debit batch rejected{{else}}Direct debit payments rejected{{/eq}}", | ||
"body": "Batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}" | ||
"title": "{{#eq event.status 'REJECTED' }}Batch rejected{{else}}Payments rejected{{/eq}}", | ||
"body": "Direct debit batch {{event.name}} of {{event.totalInstructedAmount.currencyCode}} {{formatAmount event.totalInstructedAmount.amount locale}}{{#eq event.status 'REJECTED' }} has been rejected{{else}} has {{event.rejectedTransactionsCount}} rejected {{#eq event.rejectedTransactionsCount 1 }}payment{{else}}payments{{/eq}}{{/eq}}" | ||
} |
2 changes: 1 addition & 1 deletion
2
...nding-approval/direct-debit-to-approve/in-app-notification/en_US/engagement-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"title": "Direct debit batch to approve", | ||
"title": "Batch to approve", | ||
"body": "You have a new direct debit batch of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve" | ||
} |