mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 11:20:12 -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.
24 lines
832 B
HTML
24 lines
832 B
HTML
<div class="ajax-block-container">
|
|
<p class='bottom-gutter'>
|
|
{% if job.scheduled_for %}
|
|
{% if job.processing_started %}
|
|
Sent by {{ job.created_by.name }} on {{ job.processing_started|format_datetime_short }}
|
|
{% if job.template.template_type == "letter" %}
|
|
<p class="govuk-body" id="printing-info">
|
|
{{ letter_print_day }}
|
|
</p>
|
|
{% endif %}
|
|
{% else %}
|
|
Uploaded by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
|
|
{% endif %}
|
|
{% else %}
|
|
Sent by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }}
|
|
{% if job.template.template_type == "letter" %}
|
|
<p class="govuk-body" id="printing-info">
|
|
{{ letter_print_day }}
|
|
</p>
|
|
{% endif %}
|
|
{% endif %}
|
|
</p>
|
|
</div>
|