diff --git a/app/main/views/send.py b/app/main/views/send.py index 2eab37327..6e8b81f44 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -217,8 +217,8 @@ def set_sender(service_id, template_id): def get_sender_context(sender_details, template_type): context = { 'email': { - 'title': 'Send to one recipient', - 'description': 'Where should replies go?', + 'title': 'Where should replies come back to?', + 'description': 'Where should replies come back to?', 'field_name': 'email_address' }, 'letter': { @@ -227,7 +227,7 @@ def get_sender_context(sender_details, template_type): 'field_name': 'contact_block' }, 'sms': { - 'title': 'Send to one recipient', + 'title': 'Who should the message come from?', 'description': 'Who should the message come from?', 'field_name': 'sms_sender' } @@ -421,7 +421,11 @@ def send_test_step(service_id, template_id, step_index): skip_link = None return render_template( 'views/send-test.html', - page_title=get_send_test_page_title(template.template_type, get_help_argument()), + page_title=get_send_test_page_title( + template.template_type, + get_help_argument(), + entering_recipient=not session['recipient'] + ), template=template, form=form, skip_link=skip_link, @@ -711,12 +715,14 @@ def all_placeholders_in_session(placeholders): ) -def get_send_test_page_title(template_type, help_argument): +def get_send_test_page_title(template_type, help_argument, entering_recipient): if help_argument: return 'Example text message' if template_type == 'letter': return 'Print a test letter' - return 'Send to one recipient' + if entering_recipient: + return 'Who should this message be sent to?' + return 'Personalise this message' def get_back_link(service_id, template_id, step_index): diff --git a/app/templates/components/radios.html b/app/templates/components/radios.html index d5d3682ea..b6149fa6b 100644 --- a/app/templates/components/radios.html +++ b/app/templates/components/radios.html @@ -2,12 +2,15 @@ field, hint=None, disable=[], - option_hints={} + option_hints={}, + hide_legend=False ) %}