mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
Improve permenant failure message.
Update delivery status document page.
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
('Printed', 'The provider has printed the letter. Letters are printed at 5:30pm and dispatched the next working day.'),
|
||||
('Cancelled', 'Sending cancelled. Your letter will not be printed or dispatched.'),
|
||||
('Technical failure', 'Notify had an unexpected error while sending the letter to our printing provider.'),
|
||||
('Permenent failure', 'The provider cannot print the letter. Your letter will not be dispatched.')
|
||||
] %}
|
||||
{% call row() %}
|
||||
{{ text_field(message_length) }}
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</p>
|
||||
{% elif notification_status == 'permanent-failure' %}
|
||||
<p class="notification-status-cancelled">
|
||||
Permanent failure – The postal provider is unable to print the letter. Your letter has not been sent.
|
||||
Permanent failure – The provider cannot print the letter. Your letter will not be dispatched.
|
||||
</p>
|
||||
{% elif notification_status == 'technical-failure' %}
|
||||
<p class="notification-status-cancelled">
|
||||
|
||||
@@ -442,7 +442,7 @@ def test_notification_page_shows_validation_failed_precompiled_letter(
|
||||
@pytest.mark.parametrize('notification_status, expected_message', (
|
||||
(
|
||||
'permanent-failure',
|
||||
'Permanent failure – The postal provider is unable to print the letter. Your letter has not been sent.',
|
||||
'Permanent failure – The provider cannot print the letter. Your letter will not be dispatched.',
|
||||
),
|
||||
(
|
||||
'cancelled',
|
||||
|
||||
Reference in New Issue
Block a user