mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Merge pull request #1638 from alphagov/fix-misleading-wording-choose-sms-sender
Fix misleading wording on choose text message sender/email reply to pages
This commit is contained in:
@@ -217,18 +217,18 @@ def set_sender(service_id, template_id):
|
|||||||
def get_sender_context(sender_details, template_type):
|
def get_sender_context(sender_details, template_type):
|
||||||
context = {
|
context = {
|
||||||
'email': {
|
'email': {
|
||||||
'title': "Choose where to send replies",
|
'title': 'Send to one recipient',
|
||||||
'description': "Select an email address that recipients can reply to",
|
'description': 'Where should replies go?',
|
||||||
'field_name': 'email_address'
|
'field_name': 'email_address'
|
||||||
},
|
},
|
||||||
'letter': {
|
'letter': {
|
||||||
'title': 'Choose sender address',
|
'title': 'Send to one recipient',
|
||||||
'description': 'Select an address that recipients can reply to',
|
'description': 'What should appear in the top right of the letter?',
|
||||||
'field_name': 'contact_block'
|
'field_name': 'contact_block'
|
||||||
},
|
},
|
||||||
'sms': {
|
'sms': {
|
||||||
'title': 'Chose text message sender',
|
'title': 'Send to one recipient',
|
||||||
'description': 'Select a text message sender that the recipients can reply to',
|
'description': 'Who should the message come from?',
|
||||||
'field_name': 'sms_sender'
|
'field_name': 'sms_sender'
|
||||||
}
|
}
|
||||||
}[template_type]
|
}[template_type]
|
||||||
|
|||||||
@@ -44,14 +44,14 @@ test_non_spreadsheet_files = glob(path.join('tests', 'non_spreadsheet_files', '*
|
|||||||
(
|
(
|
||||||
mock_get_service_email_template,
|
mock_get_service_email_template,
|
||||||
multiple_reply_to_email_addresses,
|
multiple_reply_to_email_addresses,
|
||||||
'Choose where to send replies',
|
'Send to one recipient',
|
||||||
'Select an email address that recipients can reply to'
|
'Where should replies go?',
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
mock_get_service_template,
|
mock_get_service_template,
|
||||||
multiple_sms_senders,
|
multiple_sms_senders,
|
||||||
'Chose text message sender',
|
'Send to one recipient',
|
||||||
'Select a text message sender that the recipients can reply to'
|
'Who should the message come from?'
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
def test_show_correct_title_and_description_for_sender_type(
|
def test_show_correct_title_and_description_for_sender_type(
|
||||||
|
|||||||
Reference in New Issue
Block a user