Remove jobs from the dashboard

We’ve done this already for services with the upload letters permission.
And all services can upload letters now.

But we’re still returning it in the JSON response we use to AJAX-ify the
page.

Since the jobs response can query stats for up to 50 jobs at a time this
puts some load on the API/database. Hopefully this might drop that load
a bit.
This commit is contained in:
Chris Hill-Scott
2020-03-16 12:08:38 +00:00
parent 6c3bdff13c
commit c7a56c8bdf
6 changed files with 5 additions and 104 deletions

View File

@@ -191,7 +191,7 @@ def test_caseworkers_get_caseworking_navigation(
)
page = client_request.get('main.choose_template', service_id=SERVICE_ONE_ID)
assert normalize_spaces(page.select_one('header + .govuk-width-container nav').text) == (
'Templates Sent messages Team members'
'Templates Sent messages Uploads Team members'
)