2018-05-18 14:05:48 +01:00
|
|
|
|
{% extends "withnav_template.html" %}
|
2019-09-12 14:33:11 +01:00
|
|
|
|
{% from "components/radios.html" import radio, conditional_radio_panel %}
|
|
|
|
|
|
{% from "components/select-input.html" import select_wrapper %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
{% from "components/textbox.html" import textbox %}
|
2019-04-29 11:44:05 +01:00
|
|
|
|
{% from "components/page-header.html" import page_header %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
{% from "components/page-footer.html" import page_footer %}
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% from "components/form.html" import form_wrapper %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
|
|
|
|
|
|
{% block service_page_title %}
|
2020-01-17 17:03:07 +00:00
|
|
|
|
Change {{ branding_type }} branding
|
2018-05-18 14:05:48 +01:00
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
|
|
|
2019-04-29 11:44:05 +01:00
|
|
|
|
{{ page_header(
|
2020-01-17 17:03:07 +00:00
|
|
|
|
'Change {} branding'.format(branding_type),
|
2020-01-21 16:02:41 +00:00
|
|
|
|
back_link=url_for('.view_template', service_id=current_service.id, template_id=from_template) if from_template else url_for('.service_settings', service_id=current_service.id)
|
2019-04-29 11:44:05 +01:00
|
|
|
|
) }}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
|
2020-05-29 17:11:01 +01:00
|
|
|
|
<p class="govuk-body">
|
2020-01-17 17:03:07 +00:00
|
|
|
|
Your {{ branding_type }}s currently have {{ branding_name }} branding.
|
2019-09-12 14:37:09 +01:00
|
|
|
|
</p>
|
|
|
|
|
|
|
2020-01-17 17:03:07 +00:00
|
|
|
|
{% if current_service.needs_to_change_email_branding and branding_type == "email" %}
|
2020-05-29 17:11:01 +01:00
|
|
|
|
<p class="govuk-body">
|
2019-09-12 14:53:40 +01:00
|
|
|
|
You should be using your own branding instead. We can help you to set this up.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% call form_wrapper() %}
|
2019-09-12 14:33:11 +01:00
|
|
|
|
{% 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',
|
2019-10-16 16:34:18 +01:00
|
|
|
|
autosize=True,
|
2019-09-12 14:33:11 +01:00
|
|
|
|
) }}
|
|
|
|
|
|
{% endcall %}
|
|
|
|
|
|
{% endif %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
<p class="form-group">
|
|
|
|
|
|
We’ll email you once your branding’s ready to use, or if we need any
|
2019-07-16 16:15:42 +01:00
|
|
|
|
more information.
|
2018-05-18 14:05:48 +01:00
|
|
|
|
</p>
|
2019-04-29 11:44:05 +01:00
|
|
|
|
{{ page_footer('Request new branding') }}
|
2018-09-19 12:39:36 +01:00
|
|
|
|
{% endcall %}
|
2018-05-18 14:05:48 +01:00
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|