mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 05:30:21 -04:00
Fix display of perm. failure on notifications page
It had too much whitespace because it was accidentally being given the wrong class. This commit undoes the change that caused it (which was while working on letters) and beefs up our tests for email and text messages (so if this happened again the tests would catch it).
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
|
||||
{% macro notification_status_field(notification) %}
|
||||
|
||||
{% set displayed_on_single_line = notification.status in ['created', 'pending', 'pending-virus-check', 'sending', 'sent', 'delivered', 'returned-letter', 'accepted', 'received', 'permanent-failure'] %}
|
||||
{% set displayed_on_single_line = notification.status in ['created', 'pending', 'pending-virus-check', 'sending', 'sent', 'delivered', 'returned-letter', 'accepted', 'received'] %}
|
||||
|
||||
{% if not notification %}
|
||||
{% call field(align='right') %}{% endcall %}
|
||||
|
||||
Reference in New Issue
Block a user