diff --git a/app/templates/views/notifications/notification.html b/app/templates/views/notifications/notification.html index 808f21a86..72567c7aa 100644 --- a/app/templates/views/notifications/notification.html +++ b/app/templates/views/notifications/notification.html @@ -41,7 +41,7 @@
{% if template.template_type == 'letter' %} - {% if notification_status in ('permanent-failure', 'cancelled') %} + {% if notification_status == 'cancelled' %}Cancelled {{ updated_at|format_datetime_short }}
@@ -49,6 +49,10 @@{{ message.summary | safe }}
+ {% elif notification_status == 'permanent-failure' %} ++ Permanent failure – The postal provider is unable to print the letter. Your letter has not been sent. +
{% elif notification_status == 'technical-failure' %}Technical failure – Notify will resend once the team have diff --git a/tests/app/main/views/test_notifications.py b/tests/app/main/views/test_notifications.py index 093b7849c..6ad7af8c5 100644 --- a/tests/app/main/views/test_notifications.py +++ b/tests/app/main/views/test_notifications.py @@ -442,7 +442,7 @@ def test_notification_page_shows_validation_failed_precompiled_letter( @pytest.mark.parametrize('notification_status, expected_message', ( ( 'permanent-failure', - 'Cancelled 1 January at 1:02am', + 'Permanent failure – The postal provider is unable to print the letter. Your letter has not been sent.', ), ( 'cancelled',