mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 17:38:25 -04:00
In some cases it’s not appropriate for teams to have GOV.UK branding. But they all start with it by default, if we can’t make a better guess. We should be more explicit about this to reduce the number of teams sending emails with the wrong branding.
59 lines
1.9 KiB
HTML
59 lines
1.9 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/radios.html" import radio, conditional_radio_panel %}
|
||
{% from "components/select-input.html" import select_wrapper %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-header.html" import page_header %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
|
||
{% block service_page_title %}
|
||
Change email branding
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
{{ page_header(
|
||
'Change email branding',
|
||
back_link=url_for('main.service_settings', service_id=current_service.id)
|
||
) }}
|
||
|
||
<p>
|
||
Your emails currently have {{ current_service.email_branding_name }} branding.
|
||
</p>
|
||
|
||
{% if current_service.needs_to_change_email_branding %}
|
||
<p>
|
||
You should be using your own branding instead. We can help you to set this up.
|
||
</p>
|
||
{% endif %}
|
||
|
||
{% call form_wrapper() %}
|
||
{% if form.something_else_is_only_option %}
|
||
{{ textbox(
|
||
form.something_else,
|
||
hint='Include links to your brand guidelines or examples of how to use your branding',
|
||
width='1-1',
|
||
) }}
|
||
{% else %}
|
||
{% call select_wrapper(form.options) %}
|
||
{% for option in form.options %}
|
||
{{ radio(option, data_target='panel-something-else' if option.data == form.FALLBACK_OPTION_VALUE else '') }}
|
||
{% endfor %}
|
||
{% endcall %}
|
||
{% call conditional_radio_panel('panel-something-else') %}
|
||
{{ textbox(
|
||
form.something_else,
|
||
hint='Include links to your brand guidelines or examples of how to use your branding',
|
||
width='1-1',
|
||
) }}
|
||
{% endcall %}
|
||
{% endif %}
|
||
<p class="form-group">
|
||
We’ll email you once your branding’s ready to use, or if we need any
|
||
more information.
|
||
</p>
|
||
{{ page_footer('Request new branding') }}
|
||
{% endcall %}
|
||
|
||
{% endblock %}
|