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.
18 lines
439 B
HTML
18 lines
439 B
HTML
{% extends "withnav_template.html" %}
|
||
|
||
{% block service_page_title %}
|
||
Letter
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<h1 class="heading-large">Letter</h1>
|
||
|
||
<p class="govuk-body">
|
||
Provided as PDF on {{ created_at|format_datetime_short }}
|
||
</p>
|
||
<p class="notification-status-cancelled">
|
||
Validation failed – There’s a problem with your letter. <br>Notify cannot read this PDF.
|
||
</p>
|
||
{% endblock %}
|