mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-16 07:12:18 -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.
33 lines
915 B
HTML
33 lines
915 B
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/table.html" import list_table, field, text_field, link_field, right_aligned_field_heading, hidden_field_heading %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block per_page_title %}
|
|
Provider - {{provider.display_name}}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="grid-row">
|
|
<div class="column-three-quarters">
|
|
|
|
<h1 class="heading-large">{{provider.display_name}}</h1>
|
|
|
|
<p>Update provider:</p>
|
|
|
|
<ul class="list-bullet">
|
|
<li>We only send from the highest priority provider</li>
|
|
</ul>
|
|
|
|
<form method="post">
|
|
{{ textbox(form.priority) }}
|
|
{{ page_footer('Save', back_link=url_for('.view_providers'), back_link_text="Back to providers") }}
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|