mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -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.
43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
{% extends "withnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
|
||
{% block service_page_title %}
|
||
Email reply to address
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">
|
||
Email reply to address
|
||
</h1>
|
||
<p>
|
||
Your emails will be sent from
|
||
{{ current_service.email_from }}@notifications.service.gov.uk.
|
||
This is so they have the best chance of being delivered.
|
||
This email address can’t receive replies.
|
||
</p>
|
||
<p>
|
||
Set up a separate email address to receive replies from
|
||
your users, then enter it here.
|
||
</p>
|
||
{% if current_service.restricted %}
|
||
<p>
|
||
Your service can’t go live until you’ve done this.
|
||
</p>
|
||
{% endif %}
|
||
<form method="post">
|
||
{{ textbox(
|
||
form.email_address,
|
||
width='2-3',
|
||
safe_error_message=True
|
||
) }}
|
||
{{ page_footer(
|
||
'Save',
|
||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||
back_link_text='Back to settings'
|
||
) }}
|
||
</form>
|
||
|
||
{% endblock %}
|