mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-03 08:51:39 -05:00
Converts links in the following: - the page-footer component - the table component - the browse-list component - the notification status, when reporting failures - validation messaging in the whitelist page
19 lines
670 B
HTML
19 lines
670 B
HTML
<div class="ajax-block-container">
|
|
{% set field_status = notification.status|format_notification_status_as_field_status(notification.notification_type) %}
|
|
{% set status_url = notification.status|format_notification_status_as_url(notification.notification_type) %}
|
|
<p class="notification-status {{ field_status }}">
|
|
{% if status_url %}
|
|
<a class="govuk-link govuk-link--destructive" href="{{ status_url }}">
|
|
{% endif %}
|
|
{{ notification.status|format_notification_status(
|
|
notification.template.template_type
|
|
) }}
|
|
{% if status_url %}
|
|
</a>
|
|
{% endif %}
|
|
{% if sent_with_test_key %}
|
|
(test)
|
|
{% endif %}
|
|
</p>
|
|
</div>
|