mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
In pages specific to a service (e.g. dashboard and sub pages) the title needs to distinguish which service it applies to. This is mainly to give context to screen reader users who could be managing multiple services. Implementing this uses template inheritance: `page_title` includes `per_page_title` includes `service_page_title` ‘GOV.UK Notify’ is inserted into every page title. Pages that set `service_page_title` get the service name inserted too.
27 lines
770 B
HTML
27 lines
770 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/radios.html" import radios, branding_radios %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block service_page_title %}
|
|
Set branding and organisation
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-large">Set email branding</h1>
|
|
<div class="grid-row">
|
|
<div class="column-three-quarters">
|
|
<form method="post">
|
|
{{ radios(form.branding_type) }}
|
|
{{ branding_radios(form.organisation, branding_dict=branding_dict) }}
|
|
{{ page_footer(
|
|
'Save',
|
|
back_link=url_for('.service_settings', service_id=current_service.id),
|
|
back_link_text='Back to settings'
|
|
) }}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|