mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-14 02:09:44 -04:00
letter branding text fields should be optional
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
|
||||
{% call settings_row(if_has_permission='letter') %}
|
||||
{{ text_field('Letter branding') }}
|
||||
{{ text_field(current_service.letter_branding) }}
|
||||
{{ optional_text_field(current_service.letter_branding.name) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.request_letter_branding', service_id=current_service.id),
|
||||
@@ -309,7 +309,7 @@
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
{{ text_field('Letter branding')}}
|
||||
{{ text_field(current_service.letter_branding.name) }}
|
||||
{{ optional_text_field(current_service.letter_branding.name) }}
|
||||
{{ edit_field('Change', url_for('.service_set_letter_branding', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
|
||||
@@ -94,7 +94,7 @@ def mock_get_service_settings_page_common(
|
||||
'Organisation type Central Change',
|
||||
'Free text message allowance 250,000 Change',
|
||||
'Email branding GOV.UK Change',
|
||||
'Letter branding Change',
|
||||
'Letter branding Not set Change',
|
||||
'Data retention email Change'
|
||||
|
||||
]),
|
||||
@@ -186,7 +186,7 @@ def test_should_show_overview(
|
||||
'Label Value Action',
|
||||
'Send letters On Change',
|
||||
'Sender addresses 1 Example Street Manage',
|
||||
'Letter branding None Change',
|
||||
'Letter branding Not set Change',
|
||||
|
||||
]),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user