Files
notifications-admin/app/templates/partials/notifications/status.html
Tom Byers 2a71cc5481 Convert warning links to govuk-link--destructive
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
2020-02-25 10:52:03 +00:00

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>