mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-04 05:20:46 -04:00
All paragraphs should have class="govuk-body", or be otherwise custom-styled. This commit adds some extra checks to our test fixture that looks for paragraphs that don’t have any styling. Our test coverage is pretty good, so this should check almost all pages, and prevent regressions. I’ve done this in such a way that it can be extended for other elements (e.g. links) in the future.
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
{% extends "withoutnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import page_footer %}
|
||
{% from "components/page-header.html" import page_header %}
|
||
|
||
{% block per_page_title %}
|
||
Thanks for contacting us
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
{{ page_header(
|
||
'Thanks for contacting us',
|
||
back_link=url_for('.support')
|
||
) }}
|
||
<p class="govuk-body">
|
||
{% if out_of_hours_emergency %}
|
||
We’ll reply in the next 30 minutes.
|
||
{% else %}
|
||
{% if email_address_provided %}
|
||
{% if out_of_hours %}
|
||
We’ll reply within one working day.
|
||
{% else %}
|
||
We’ll read your message in the next 30 minutes and reply within one
|
||
working day.
|
||
{% endif %}
|
||
{% else %}
|
||
{% if out_of_hours %}
|
||
We’ll read your message when we’re back in the office.
|
||
{% else %}
|
||
We’ll read your message in the next 30 minutes.
|
||
{% endif %}
|
||
{% endif %}
|
||
{% endif %}
|
||
</p>
|
||
|
||
{% endblock %}
|