mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Don’t allow paragraphs without class attribute
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.
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
|
||||
<h1 class="heading-large">Delivery status</h1>
|
||||
|
||||
<p>Notify’s real-time dashboard lets you check the status of any message, to see when it was delivered.</p>
|
||||
<p>For <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for("main.security") }}">security</a>, this information is only available for 7 days after a message has been sent. You can download a report, including a list of sent messages, for your own records.</p>
|
||||
<p>This page describes the statuses you’ll see when you’re signed in to Notify.</p>
|
||||
<p>If you’re using the Notify API, read our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.documentation') }}">documentation</a> for a list of API statuses.<p>
|
||||
<p class="govuk-body">Notify’s real-time dashboard lets you check the status of any message, to see when it was delivered.</p>
|
||||
<p class="govuk-body">For <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for("main.security") }}">security</a>, this information is only available for 7 days after a message has been sent. You can download a report, including a list of sent messages, for your own records.</p>
|
||||
<p class="govuk-body">This page describes the statuses you’ll see when you’re signed in to Notify.</p>
|
||||
<p class="govuk-body">If you’re using the Notify API, read our <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.documentation') }}">documentation</a> for a list of API statuses.<p class="govuk-body">
|
||||
|
||||
<h2 id="email-statuses" class="heading-medium">Emails</h2>
|
||||
<div class="bottom-gutter-3-2">
|
||||
@@ -38,10 +38,10 @@
|
||||
</div>
|
||||
|
||||
<h3 id="spam" class="heading-small">Spam</h3>
|
||||
<p>If an email is marked as spam, Notify receives a ‘complaint’ from the email provider. We’ll contact you if we receive a complaint about any of your emails. When this happens you should remove the recipient’s email address from your list.</p>
|
||||
<p class="govuk-body">If an email is marked as spam, Notify receives a ‘complaint’ from the email provider. We’ll contact you if we receive a complaint about any of your emails. When this happens you should remove the recipient’s email address from your list.</p>
|
||||
|
||||
<h3 id="open-rates" class="heading-small">Open rates and click-throughs</h3>
|
||||
<p>Notify cannot tell you if your users open an email or click on the links in an email. We do not track open rates and click-throughs because there are privacy issues. Tracking emails without asking permission from users could breach General Data Protection Regulations (GDPR).</p>
|
||||
<p class="govuk-body">Notify cannot tell you if your users open an email or click on the links in an email. We do not track open rates and click-throughs because there are privacy issues. Tracking emails without asking permission from users could breach General Data Protection Regulations (GDPR).</p>
|
||||
|
||||
<h2 id="sms-statuses" class="heading-medium">Text messages</h2>
|
||||
<div class="bottom-gutter-3-2">
|
||||
@@ -91,8 +91,8 @@
|
||||
|
||||
<h3 id="returned-mail" class="heading-small">Undelivered letters and returned mail</h3>
|
||||
|
||||
<p>Every letter we send includes our printer’s address on the back of the envelope. It’s not possible to customise the return address.</p>
|
||||
<p>Returned mail is destroyed by our printer.</p>
|
||||
<p>Each letter has a unique ID. Our printer sends us the ID of every letter they destroy. We’ll contact you if the IDs match any of your letters. This is a partly manual process, so it can take a few weeks.</p>
|
||||
<p class="govuk-body">Every letter we send includes our printer’s address on the back of the envelope. It’s not possible to customise the return address.</p>
|
||||
<p class="govuk-body">Returned mail is destroyed by our printer.</p>
|
||||
<p class="govuk-body">Each letter has a unique ID. Our printer sends us the ID of every letter they destroy. We’ll contact you if the IDs match any of your letters. This is a partly manual process, so it can take a few weeks.</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user