From 0008d7cda72f237c2d76f833b1bc6ccf7ef692f8 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 10 Jul 2018 12:14:54 +0100 Subject: [PATCH] =?UTF-8?q?Rename=20=E2=80=98caseworker=E2=80=99=20to=20ba?= =?UTF-8?q?sic=20view=20on=20team=20members?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missed this in https://github.com/alphagov/notifications-admin/pull/2146 --- app/templates/views/manage-users.html | 4 ++-- tests/app/main/views/test_manage_users.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/templates/views/manage-users.html b/app/templates/views/manage-users.html index a5ad007a5..24fa5f18d 100644 --- a/app/templates/views/manage-users.html +++ b/app/templates/views/manage-users.html @@ -67,7 +67,7 @@ {% if 'caseworking' in current_service.permissions %} {{ tick_cross( user.status != 'cancelled', - 'Admin' + 'Admin view' ) }} {% endif %} {{ tick_cross( @@ -89,7 +89,7 @@ {% else %} {{ tick_cross( True, - 'Caseworker' + 'Basic view' ) }} {% endif %} {% if 'email_auth' in current_service['permissions'] %} diff --git a/tests/app/main/views/test_manage_users.py b/tests/app/main/views/test_manage_users.py index fb9c7ceb1..eccab1770 100644 --- a/tests/app/main/views/test_manage_users.py +++ b/tests/app/main/views/test_manage_users.py @@ -121,7 +121,7 @@ def test_should_show_caseworker_on_overview_page( assert normalize_spaces(page.select_one('h1').text) == 'Team members' assert normalize_spaces(page.select('.user-list-item')[0].text) == ( 'Test User With Permissions (you) ' - 'Can Admin ' + 'Can Admin view ' 'Can’t Send messages ' 'Can’t Add and edit templates ' 'Can’t Manage service ' @@ -130,7 +130,7 @@ def test_should_show_caseworker_on_overview_page( # [1:5] are invited users assert normalize_spaces(page.select('.user-list-item')[6].text) == ( 'Test User zzzzzzz@example.gov.uk ' - 'Can Caseworker' + 'Can Basic view' )