mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-13 02:18:50 -04:00
Make language consistent
The `is_default` text and text of the checkbox should use the same terminology (‘email address’ not ‘address’).
This commit is contained in:
@@ -469,7 +469,7 @@ class ProviderForm(Form):
|
||||
|
||||
class ServiceReplyToEmailForm(Form):
|
||||
email_address = email_address(label='Email reply to address')
|
||||
is_default = BooleanField("Make this address the default")
|
||||
is_default = BooleanField("Make this email address the default")
|
||||
|
||||
|
||||
class ServiceSmsSender(Form):
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
) }}
|
||||
{% if form.is_default.data %}
|
||||
<p class="form-group">
|
||||
This email address is the default
|
||||
This is the default reply to address for {{ current_service.name }} emails
|
||||
</p>
|
||||
{% else %}
|
||||
<div class="form-group">
|
||||
|
||||
@@ -838,7 +838,9 @@ def test_default_box_shows_on_non_default_email_addresses_while_editing(
|
||||
if checkbox_present:
|
||||
assert page.select_one('[name=is_default]')
|
||||
else:
|
||||
assert normalize_spaces(page.select_one('form p').text) == "This email address is the default"
|
||||
assert normalize_spaces(page.select_one('form p').text) == (
|
||||
'This is the default reply to address for service one emails'
|
||||
)
|
||||
|
||||
|
||||
def test_switch_service_to_research_mode(
|
||||
|
||||
Reference in New Issue
Block a user