mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 19:29:11 -04:00
Fix the error message for message-too=long
There was a bug that displayed the error message with 2 red error boxes around the error message. Also need another else to handle a new error message from the API, the old one can be removed after the API is deployed. But this can go first. I tested this branch with API master and the API branch with the change. I tested one off SMS and a CSV upload.
This commit is contained in:
@@ -3560,7 +3560,7 @@ TRIAL_MODE_MSG = (
|
||||
'Cannot send to this recipient when service is in trial mode – '
|
||||
'see https://www.notifications.service.gov.uk/trial-mode'
|
||||
)
|
||||
TOO_LONG_MSG = 'Content for template has a character count greater than the limit of 612'
|
||||
TOO_LONG_MSG = 'Text messages cannot be longer than 612 characters. Your message is 654 characters.'
|
||||
SERVICE_DAILY_LIMIT_MSG = 'Exceeded send limits (1000) for today'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user