From 103cf4890b8fad0f5cad3cb56b1d4ae30e22f48a Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Tue, 29 Jun 2021 18:00:01 +0100 Subject: [PATCH] Add paragraph to broadcast settings form The form is going to change to remove all existing permissions when it is submitted, so this adds a paragraph to explain that. --- .../service-confirm-broadcast-account-type.html | 4 ++++ tests/app/main/views/test_service_settings.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/templates/views/service-settings/service-confirm-broadcast-account-type.html b/app/templates/views/service-settings/service-confirm-broadcast-account-type.html index 5dcaaa906..744ff9b22 100644 --- a/app/templates/views/service-settings/service-confirm-broadcast-account-type.html +++ b/app/templates/views/service-settings/service-confirm-broadcast-account-type.html @@ -41,6 +41,10 @@

{% endif %} +

+ All team member permissions will be removed. +

+ {% call form_wrapper() %} {{ page_footer('Confirm') }} {% endcall %} diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py index a29b73f3a..cb413ce71 100644 --- a/tests/app/main/views/test_service_settings.py +++ b/tests/app/main/views/test_service_settings.py @@ -5884,7 +5884,7 @@ def test_service_confirm_broadcast_account_type_confirmation_page( ) assert [ normalize_spaces(p.text) for p in page.select('main p') - ] == expected_paragraphs + ] == expected_paragraphs + ['All team member permissions will be removed.'] @pytest.mark.parametrize(