Improve permenant failure message.

Update delivery status document page.
This commit is contained in:
Rebecca Law
2021-06-10 15:11:33 +01:00
parent 498092f9ac
commit aedf875110
3 changed files with 3 additions and 2 deletions

View File

@@ -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) }}

View File

@@ -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">

View File

@@ -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',