diff --git a/app/templates/partials/jobs/status.html b/app/templates/partials/jobs/status.html index e54d0dec7..94be44736 100644 --- a/app/templates/partials/jobs/status.html +++ b/app/templates/partials/jobs/status.html @@ -21,8 +21,11 @@ {% endif %}

{% if job.status == 'sending limits exceeded'%} -

- You have exceeded your daily sending limits. You can upload your CSV tomorrow or contact the GOV.UK Notify team +

+ Notify cannot send these messages because you have reached your daily limit. You can only send {{ current_service.message_limit|format_thousands }} messages per day. +

+

+ Upload this spreadsheet again tomorrow or contact the GOV.UK Notify team to raise the limit.

{% endif %} diff --git a/tests/app/main/views/test_jobs.py b/tests/app/main/views/test_jobs.py index 1892a2290..92a3c001e 100644 --- a/tests/app/main/views/test_jobs.py +++ b/tests/app/main/views/test_jobs.py @@ -236,8 +236,12 @@ def test_should_show_job_with_sending_limit_exceeded_status( service_id=service_one['id'], job_id=fake_uuid, ) + assert normalize_spaces(page.select('main p')[1].text) == ( - "You have exceeded your daily sending limits. You can upload your CSV tomorrow or contact the GOV.UK Notify team" + "Notify cannot send these messages because you have reached your daily limit. You can only send 1,000 messages per day." # noqa + ) + assert normalize_spaces(page.select('main p')[2].text) == ( + "Upload this spreadsheet again tomorrow or contact the GOV.UK Notify team to raise the limit." )