mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-10 15:13:40 -05:00
73 lines
2.4 KiB
HTML
73 lines
2.4 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/banner.html" import banner %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/components/back-link/macro.njk" import usaBackLink %}
|
|
|
|
{% block service_page_title %}
|
|
{{ "Message status" }}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header("Message status") }}
|
|
{% if not job.finished_processing %}
|
|
<p class="max-width-full">This page refreshes automatically to show the latest message activity delivery rates, details, and reports.<br>You can watch it in progress or check back later.</p>
|
|
{% endif %}
|
|
<div data-job-id="{{ job.id }}" data-feature="{{FEATURE_SOCKET_ENABLED | lower}}" data-host="{{ api_host_name }}">
|
|
{% if not job.finished_processing %}
|
|
<div
|
|
data-resource="{{ updates_url }}"
|
|
{% if FEATURE_SOCKET_ENABLED %}
|
|
data-socket-update="status"
|
|
{% else %}
|
|
data-module="update-content"
|
|
{% endif %}
|
|
data-key="status"
|
|
data-form=""
|
|
>
|
|
{% endif %}
|
|
{{ partials['status']|safe }}
|
|
{% if not job.finished_processing %}
|
|
</div>
|
|
{% endif %}
|
|
{% if not finished %}
|
|
<div
|
|
data-resource="{{ updates_url }}"
|
|
{% if FEATURE_SOCKET_ENABLED %}
|
|
data-socket-update="counts"
|
|
{% else %}
|
|
data-module="update-content"
|
|
{% endif %}
|
|
data-key="counts"
|
|
data-form=""
|
|
>
|
|
{% endif %}
|
|
{{ partials['counts']|safe }}
|
|
{% if not finished %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<p class="notification-status max-width-full">
|
|
Messages are sent immediately to the cell phone carrier, but will remain in "pending" status until we hear back from the carrier they have received it and attempted deliver. More information on <a class="usa-link" href="{{ url_for('main.message_status') }}">delivery status</a>.
|
|
</p>
|
|
{% if not job.processing_finished %}
|
|
<div
|
|
data-resource="{{ updates_url }}"
|
|
{% if FEATURE_SOCKET_ENABLED %}
|
|
data-socket-update="notifications"
|
|
{% else %}
|
|
data-module="update-content"
|
|
{% endif %}
|
|
data-key="notifications"
|
|
data-form=""
|
|
>
|
|
{% endif %}
|
|
{{ partials['notifications']|safe }}
|
|
{% if not job.processing_finished %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% endblock %}
|