mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Display cancelled letters show as failed
In the long term, we don't want to show cancelled letters. But for now, this changes cancelled letters to display in the same way that letters with a status of permanent-failure, since we are currently giving letters that we want to cancel the status of permanent failure.
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
notification.template.template_type
|
||||
) }}
|
||||
{% endif %}
|
||||
{% if notification.notification_type == "letter" and notification.status in ['permanent-failure', 'validation-failed'] %}
|
||||
{% if notification.notification_type == "letter" and notification.status in ['permanent-failure', 'validation-failed', 'cancelled'] %}
|
||||
Cancelled
|
||||
{% endif %}
|
||||
{% if notification.status|format_notification_status_as_url(notification.notification_type) %}
|
||||
|
||||
Reference in New Issue
Block a user