mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-12 14:22:37 -04:00
Since we’ve removed the table of notifications from the single notification page there’s no way of knowing the status of a notification. This re-adds it in a way that’s similar to how it looks on inbound messages.
14 lines
512 B
HTML
14 lines
512 B
HTML
<div class="ajax-block-container">
|
|
<p class="notification-status {{ notification.status|format_notification_status_as_field_status }}">
|
|
{% if notification.status|format_notification_status_as_url %}
|
|
<a href="{{ notification.status|format_notification_status_as_url }}">
|
|
{% endif %}
|
|
{{ notification.status|format_notification_status(
|
|
notification.template.template_type
|
|
) }}
|
|
{% if notification.status|format_notification_status_as_url %}
|
|
</a>
|
|
{% endif %}
|
|
</p>
|
|
</div>
|