mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Add a non-GOV.UK banner option for email branding
Added extra radio button for 'org_banner' option Updated service setting template to display appropriate text when option is selected Updated tests to also accomodate new radio option
This commit is contained in:
@@ -511,7 +511,8 @@ class ServiceBrandingOrg(Form):
|
||||
choices=[
|
||||
('govuk', 'GOV.UK only'),
|
||||
('both', 'GOV.UK and organisation'),
|
||||
('org', 'Organisation only')
|
||||
('org', 'Organisation only'),
|
||||
('org_banner', 'Organisation banner')
|
||||
],
|
||||
validators=[
|
||||
DataRequired()
|
||||
|
||||
@@ -187,6 +187,8 @@
|
||||
GOV.UK and {{ organisation.name if organisation else None }}
|
||||
{% elif current_service.branding == 'org' %}
|
||||
Only {{ organisation.name if organisation else None }}
|
||||
{% elif current_service.branding == 'org_banner' %}
|
||||
Only {{ organisation.name if organisation else None }} banner
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
{{ edit_field('Change', url_for('.service_set_branding_and_org', service_id=current_service.id)) }}
|
||||
|
||||
Reference in New Issue
Block a user