mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-07 23:10:41 -04:00
This retores the behaviour to as it was before https://github.com/alphagov/notifications-admin/pull/2962 which inadvertently started linking to the guidance for messages that were delivered or in sending.
17 lines
701 B
HTML
17 lines
701 B
HTML
<div class="ajax-block-container">
|
|
<p class="notification-status {{ notification.status|format_notification_status_as_field_status(notification.notification_type) }}">
|
|
{% if notification.status|format_notification_status_as_url(notification.notification_type) %}
|
|
<a href="{{ notification.status|format_notification_status_as_url(notification.notification_type) }}">
|
|
{% endif %}
|
|
{{ notification.status|format_notification_status(
|
|
notification.template.template_type
|
|
) }}
|
|
{% if notification.status|format_notification_status_as_url(notification.notification_type) %}
|
|
</a>
|
|
{% endif %}
|
|
{% if sent_with_test_key %}
|
|
(test)
|
|
{% endif %}
|
|
</p>
|
|
</div>
|