mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04: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.'),
|
('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.'),
|
('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.'),
|
('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() %}
|
{% call row() %}
|
||||||
{{ text_field(message_length) }}
|
{{ text_field(message_length) }}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{% elif notification_status == 'permanent-failure' %}
|
{% elif notification_status == 'permanent-failure' %}
|
||||||
<p class="notification-status-cancelled">
|
<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>
|
</p>
|
||||||
{% elif notification_status == 'technical-failure' %}
|
{% elif notification_status == 'technical-failure' %}
|
||||||
<p class="notification-status-cancelled">
|
<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', (
|
@pytest.mark.parametrize('notification_status, expected_message', (
|
||||||
(
|
(
|
||||||
'permanent-failure',
|
'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',
|
'cancelled',
|
||||||
|
|||||||
Reference in New Issue
Block a user