Removing the govuk-body class

This commit is contained in:
Jonathan Bobel
2023-08-25 11:49:13 -04:00
parent 64256a6f57
commit 8b3807da3c
40 changed files with 159 additions and 159 deletions

View File

@@ -1,7 +1,7 @@
<h1 class='banner-title'>
Message too long
</h1>
<p class="govuk-body">
<p class="usa-body">
Text messages cannot be longer than {{ SMS_CHAR_COUNT_LIMIT }} characters.
Your message is {{ template.content_count }} characters.
</p>

View File

@@ -6,7 +6,7 @@
{{ 'es' if 'email address' == template_type_label else 's' }}
{%- endif %}
</h1>
<p class="govuk-body">
<p class="usa-body">
In <a class="usa-link" href="{{ url_for('.trial_mode_new') }}">trial mode</a> you can only
send to yourself and members of your team
</p>

View File

@@ -1,6 +1,6 @@
<h1 class='banner-title' data-module="track-error" data-error-type="File previously sent" data-error-label="{{ upload_id }}">
These messages have already been sent today
</h1>
<p class="govuk-body">
<p class="usa-body">
If you need to resend them, rename the file and upload it again.
</p>

View File

@@ -5,7 +5,7 @@
Daily limit reached
{% endif %}
</h1>
<p class="govuk-body">
<p class="usa-body">
You can only send {{ current_service.message_limit|format_thousands }} messages per day
{%- if current_service.trial_mode %}
in <a class="usa-link" href="{{ url_for('.trial_mode_new')}}">trial mode</a>
@@ -13,7 +13,7 @@
.
</p>
{% if original_file_name %}
<p class="govuk-body">
<p class="usa-body">
{% if current_service.message_limit != remaining_messages %}
You can still send {{ remaining_messages|format_thousands }} messages today, but
{% endif %}

View File

@@ -5,7 +5,7 @@
<div class="ajax-block-container" aria-labelledby='pill-selected-item' role="region">
{% if job.scheduled %}
<p class="govuk-body">
<p class="usa-body">
Sending
<a class="usa-link" href="{{ url_for('.view_template_version', service_id=current_service.id, template_id=job.template.id, version=job.template_version) }}">{{ job.template.name }}</a>
{{ job.scheduled_for|format_datetime_relative }}

View File

@@ -16,7 +16,7 @@
field_headings_visible=False
) %}
{% call row_heading() %}
<p class="govuk-body">{{ item.to }}</p>
<p class="usa-body">{{ item.to }}</p>
{% endcall %}
{{ notification_status_field(item) }}
{% endcall %}

View File

@@ -1,14 +1,14 @@
{% from "components/components/inset-text/macro.njk" import govukInsetText %}
<h2 class="heading-medium">Formatting</h2>
<p class="govuk-body">
<p class="usa-body">
To put a heading in your template, use a hash:
</p>
{{ govukInsetText({
"text": "# This is a heading",
"classes": ""})
}}
<p class="govuk-body">
<p class="usa-body">
To make bullet points, use asterisks:
</p>
{{ govukInsetText({
@@ -17,7 +17,7 @@
* point 3<br/>",
"classes": ""})
}}
<p class="govuk-body">
<p class="usa-body">
To insert a page break, use three asterisks:
</p>
{{ govukInsetText({

View File

@@ -28,8 +28,8 @@
To add a horizontal line, use three dashes:
</p>
{{ govukInsetText({
"html": '<p class="govuk-body">First paragraph</p>
<p class="govuk-body" style="letter-spacing: 1px;">---</p>
<p class="govuk-body">Second paragraph</p>',
"html": '<p class="usa-body">First paragraph</p>
<p class="usa-body" style="letter-spacing: 1px;">---</p>
<p class="usa-body">Second paragraph</p>',
"classes": ""})
}}

View File

@@ -3,7 +3,7 @@
<h2 class="heading-medium">
Send a document by email
</h2>
<p class="govuk-body">
<p class="usa-body">
Use double brackets to add a placeholder field to your template. This will contain a secure link to download the document.
</p>
{{ govukInsetText({

View File

@@ -7,7 +7,7 @@
<p class="heading-large">1.</p>
</div>
<div class="grid-col-10">
<p class="govuk-body">
<p class="usa-body">
Every message is sent from a template
</p>
</div>
@@ -17,7 +17,7 @@
<p class="heading-large">2.</p>
</div>
<div class="grid-col-10">
<p class="govuk-body">
<p class="usa-body">
The template pulls in the data you provide
</p>
</div>
@@ -27,7 +27,7 @@
<p class="heading-large">3.</p>
</div>
<div class="grid-col-10">
<p class="govuk-body">
<p class="usa-body">
Notify delivers the message
</p>
{% if help == '3' %}