mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-14 23:44:56 -05:00
- Deleted /stylesheets folder - Removed sass build from gulpfile - Changed gov links to usa links - Changed other govuk styles, like breadcrumbs - Changed name of uk_components file to us_components - Fixed a few tests that broke on account of the changes
30 lines
964 B
HTML
30 lines
964 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="usa-link usa-link--destructive" href="{{ status_url }}">
|
|
{% endif %}
|
|
|
|
{% if notification.status != 'sending' %}
|
|
{{ notification.status|format_notification_status(
|
|
notification.template.template_type
|
|
) }}
|
|
{% endif %}
|
|
|
|
{% if notification.status == 'sending' %}
|
|
<p class="notification-status {{ field_status }}">
|
|
Pending. Messages will remain in pending state until carrier status is received, typically 5 minutes.
|
|
</p>
|
|
{% endif %}
|
|
{% if status_url %}
|
|
</a>
|
|
{% endif %}
|
|
{% if sent_with_test_key %}
|
|
(test)
|
|
{% endif %}
|
|
</p>
|
|
|
|
</div>
|