From 9c658bf0203a1d25fc62a597cb9aeffdf6359dc9 Mon Sep 17 00:00:00 2001 From: Andrew Shumway Date: Wed, 6 Dec 2023 12:26:33 -0700 Subject: [PATCH] Fix verbage on front end to better reflect functionality --- app/main/forms.py | 2 +- app/templates/views/service-settings.html | 10 +++++----- .../views/service-settings/set-message-limit.html | 4 ++-- .../views/service_settings/test_service_settings.py | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/main/forms.py b/app/main/forms.py index fb9b7eeac..5e926dce4 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -1196,7 +1196,7 @@ class AdminServiceSMSAllowanceForm(StripWhitespaceForm): class AdminServiceMessageLimitForm(StripWhitespaceForm): message_limit = GovukIntegerField( - "Number of messages the service is allowed to send each day", + "Max number of messages the service has per send", validators=[DataRequired(message="Cannot be empty")], ) diff --git a/app/templates/views/service-settings.html b/app/templates/views/service-settings.html index 9364880fc..c3e0803ab 100644 --- a/app/templates/views/service-settings.html +++ b/app/templates/views/service-settings.html @@ -93,7 +93,7 @@ ) }} {% endcall %} - + {% if current_user.platform_admin %} {% call settings_row(if_has_permission='sms') %} {{ text_field('Send international text messages') }} @@ -107,7 +107,7 @@ }} {% endcall %} {% endif %} - +