mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Removed polling logic from status page and added button instead
This commit is contained in:
@@ -12,7 +12,13 @@
|
||||
|
||||
{{ 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>
|
||||
<p class="max-width-full">This page no longer refreshes automatically. Use the refresh button below to check the latest message status.</p>
|
||||
<form method="get" style="display: inline-block;">
|
||||
<button type="submit" class="usa-button usa-button--outline">
|
||||
Refresh Status
|
||||
</button>
|
||||
</form>
|
||||
<br><br>
|
||||
{% endif %}
|
||||
<div data-job-id="{{ job.id }}" data-host="{{ api_public_url }}">
|
||||
{% if not job.finished_processing and FEATURE_SOCKET_ENABLED %}
|
||||
|
||||
Reference in New Issue
Block a user