mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Merge pull request #2567 from GSA/2211-update-language-regarding-auto-refresh
2211 - Update content to inform user of page refresh
This commit is contained in:
@@ -11,6 +11,9 @@
|
|||||||
{% block maincolumn_content %}
|
{% block maincolumn_content %}
|
||||||
|
|
||||||
{{ page_header("Message status") }}
|
{{ 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 }}">
|
<div data-job-id="{{ job.id }}" data-feature="{{FEATURE_SOCKET_ENABLED | lower}}" data-host="{{ api_host_name }}">
|
||||||
{% if not job.finished_processing %}
|
{% if not job.finished_processing %}
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -237,11 +237,11 @@ def test_should_show_job_with_sending_limit_exceeded_status(
|
|||||||
job_id=fake_uuid,
|
job_id=fake_uuid,
|
||||||
)
|
)
|
||||||
|
|
||||||
assert normalize_spaces(page.select("main p")[2].text) == (
|
assert normalize_spaces(page.select("main p")[3].text) == (
|
||||||
"Notify cannot send these messages because you have reached a limit. "
|
"Notify cannot send these messages because you have reached a limit. "
|
||||||
"You can only send 1,000 messages per day and 250,000 messages in total."
|
"You can only send 1,000 messages per day and 250,000 messages in total."
|
||||||
)
|
)
|
||||||
assert normalize_spaces(page.select("main p")[3].text) == (
|
assert normalize_spaces(page.select("main p")[4].text) == (
|
||||||
"Upload this spreadsheet again tomorrow or contact the Notify.gov team to raise the limit."
|
"Upload this spreadsheet again tomorrow or contact the Notify.gov team to raise the limit."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user