mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 03:10:16 -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.
40 lines
1.6 KiB
HTML
40 lines
1.6 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/form.html" import form_wrapper %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
|
|
{% block per_page_title %}
|
|
Confirm that you accept the agreement
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-five-sixths">
|
|
|
|
{{ page_header(
|
|
'Confirm that you accept the agreement',
|
|
back_link=url_for('main.service_accept_agreement', service_id=current_service.id)
|
|
) }}
|
|
|
|
{% call form_wrapper(class='top-gutter') %}
|
|
|
|
{% if current_service.organisation.agreement_signed_on_behalf_of_name and current_service.organisation.agreement_signed_on_behalf_of_email_address %}
|
|
<p class="govuk-body">
|
|
I confirm that I have the legal authority to accept the GOV.UK Notify data sharing and financial agreement (version {{ current_service.organisation.agreement_signed_version }}) on behalf of {{ current_service.organisation.agreement_signed_on_behalf_of_name }} ({{ current_service.organisation.agreement_signed_on_behalf_of_email_address }}) and that {{ current_service.organisation.name }} will be bound by it.
|
|
</p>
|
|
{% else %}
|
|
<p class="govuk-body">
|
|
I confirm that I have the legal authority to accept the GOV.UK Notify data sharing and financial agreement (version {{ current_service.organisation.agreement_signed_version }}) and that {{ current_service.organisation.name }} will be bound by it.
|
|
</p>
|
|
{% endif %}
|
|
|
|
{{ page_footer('Accept this agreement') }}
|
|
|
|
{% endcall %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|