mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-01 22:51:10 -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.
13 lines
558 B
HTML
13 lines
558 B
HTML
<h1 class='banner-title' data-module="track-error" data-error-type="Trial mode: bad recipients" data-error-label="{{ upload_id }}">
|
|
You cannot send to
|
|
{{ 'this' if count_of_recipients == 1 else 'these' }}
|
|
{{ template_type_label }}
|
|
{%- if count_of_recipients != 1 -%}
|
|
{{ 'es' if 'email address' == template_type_label else 's' }}
|
|
{%- endif %}
|
|
</h1>
|
|
<p class="govuk-body">
|
|
In <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.trial_mode_new') }}">trial mode</a> you can only
|
|
send to yourself and members of your team
|
|
</p>
|