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

@@ -25,7 +25,7 @@
<ul class="govuk-list govuk-list--bullet">
<li>find a member of your team who has permission to manage settings, team and usage</li>
<li>ask them to change the email address for your account</li>
<li>select <span class="govuk-body bold">Resend email link</span></li>
<li>select <span class="usa-body bold">Resend email link</span></li>
</ul>
</div>

View File

@@ -10,39 +10,39 @@
{% block content_column_content %}
<h1 class="font-body-2xl">Features</h1>
<p class="govuk-body">If you work for the government, you can use Notify.gov to keep your users updated.</p>
<p class="govuk-body">Notify makes it easy to create, customize, and send <a class="usa-link" href="{{ url_for('main.features_sms') }}">text messages</a>.</p>
<p class="usa-body">If you work for the government, you can use Notify.gov to keep your users updated.</p>
<p class="usa-body">Notify makes it easy to create, customize, and send <a class="usa-link" href="{{ url_for('main.features_sms') }}">text messages</a>.</p>
<!-- <ul class="list list-bullet">
<li><a class="usa-link" href="{{ url_for('main.features_email') }}">emails</a></li>
<li><a class="usa-link" href="{{ url_for('main.features_sms') }}">text messages</a></li>
</ul> -->
<p class="govuk-body">You do not need any technical knowledge to use Notify.</p>
<p class="usa-body">You do not need any technical knowledge to use Notify.</p>
{% if not current_user.is_authenticated %}
<p class="govuk-body"><a class="usa-link" href="{{ url_for('main.register') }}">Create an account</a> for free and try it yourself.</p>
<p class="usa-body"><a class="usa-link" href="{{ url_for('main.register') }}">Create an account</a> for free and try it yourself.</p>
{% endif %}
<h2 class="heading-medium" id="templates">Reusable message templates</h2>
<p class="govuk-body">To send a text with Notify, you need to create a reusable message template first.</p>
<p class="govuk-body">Templates let you send the same thing to lots of people, as often as you need to, without writing a new message each time.</p>
<p class="usa-body">To send a text with Notify, you need to create a reusable message template first.</p>
<p class="usa-body">Templates let you send the same thing to lots of people, as often as you need to, without writing a new message each time.</p>
<h2 class="heading-medium" id="personalised-messages">Personalized content</h2>
<p class="govuk-body">Notify makes it easy to send personalized messages from a single template.</p>
<p class="govuk-body">See <a class="usa-link" href="{{ url_for('.guidance_index', _anchor='personalized-content') }}">how to personalize your content</a>.</p>
<p class="usa-body">Notify makes it easy to send personalized messages from a single template.</p>
<p class="usa-body">See <a class="usa-link" href="{{ url_for('.guidance_index', _anchor='personalized-content') }}">how to personalize your content</a>.</p>
<h2 class="heading-medium" id="bulk-sending">Bulk sending</h2>
<p class="govuk-body">To send a batch of messages at once, upload a list of contact details to Notify. You can also schedule the date and time you want them to be sent.</p>
<p class="usa-body">To send a batch of messages at once, upload a list of contact details to Notify. You can also schedule the date and time you want them to be sent.</p>
<!-- <h2 class="heading-medium" id="api">API integration</h2>
<p class="govuk-body">You can integrate the Notify API with your web application or back-office system to send messages automatically.</p>
<p class="govuk-body">Read our <a class="usa-link" href="{{ url_for('.documentation') }}">API documentation</a> for more information.</p> -->
<p class="usa-body">You can integrate the Notify API with your web application or back-office system to send messages automatically.</p>
<p class="usa-body">Read our <a class="usa-link" href="{{ url_for('.documentation') }}">API documentation</a> for more information.</p> -->
<h2 class="heading-medium" id="reporting">Reporting</h2>
<p class="govuk-body">Notifys real-time dashboard lets you see the number of messages sent. You can also check the current status of any message to see when it was delivered.</p>
<p class="govuk-body">Read more about the <a class="usa-link" href="{{ url_for('main.message_status') }}">delivery status</a> of your messages.</p>
<p class="usa-body">Notifys real-time dashboard lets you see the number of messages sent. You can also check the current status of any message to see when it was delivered.</p>
<p class="usa-body">Read more about the <a class="usa-link" href="{{ url_for('main.message_status') }}">delivery status</a> of your messages.</p>
<h2 class="heading-medium" id="permissions">Permissions</h2>
<p class="govuk-body">Control which members of your team can see, create, edit, and send messages.</p>
<p class="govuk-body">Notify lets you:</p>
<p class="usa-body">Control which members of your team can see, create, edit, and send messages.</p>
<p class="usa-body">Notify lets you:</p>
<ul class="list list-bullet">
<li>set different permission levels for each team member</li>
<li>invite team members who do not have a government email address</li>
@@ -50,27 +50,27 @@
</ul>
<h2 class="heading-medium" id="performance">Performance</h2>
<p class="govuk-body">Notify commits to sending 95% of text messages within 10 seconds.</p>
<p class="usa-body">Notify commits to sending 95% of text messages within 10 seconds.</p>
<!-- <ul class="list list-bullet">
<li>sending 95% of text messages within 10 seconds</li>
</ul> -->
<!-- <p class="govuk-body">We send messages through several different providers. If one provider fails, Notify switches to another so that your messages are not affected.</p> -->
<!-- <p class="usa-body">We send messages through several different providers. If one provider fails, Notify switches to another so that your messages are not affected.</p> -->
<!-- <p class="govuk-body">Visit our <a class="usa-link" href="{{ url_for('main.performance') }}">performance data</a> page to see how Notify is performing.</p> -->
<!-- <p class="usa-body">Visit our <a class="usa-link" href="{{ url_for('main.performance') }}">performance data</a> page to see how Notify is performing.</p> -->
<h2 class="heading-medium" id="security">Security</h2>
<p class="govuk-body">Notify protects and manages data to meet the needs of government services.</p>
<p class="usa-body">Notify protects and manages data to meet the needs of government services.</p>
<h3 class="heading-small">Hide sensitive information</h3>
<p class="govuk-body">Notify lets you redact personal information from your messages after they have been sent. This means that only the recipient can see that information.</p>
<p class="usa-body">Notify lets you redact personal information from your messages after they have been sent. This means that only the recipient can see that information.</p>
<h3 class="heading-small">Two-factor authentication</h3>
<p class="govuk-body">Notify uses two-factor authentication (2FA) to keep your account secure. When you sign in, well send a unique one-time code to your phone and ask you to enter it before we let you use your account.</p>
<p class="govuk-body">Read more about <a class="usa-link" href="{{ url_for('main.security') }}">security</a>.
<p class="usa-body">Notify uses two-factor authentication (2FA) to keep your account secure. When you sign in, well send a unique one-time code to your phone and ask you to enter it before we let you use your account.</p>
<p class="usa-body">Read more about <a class="usa-link" href="{{ url_for('main.security') }}">security</a>.
<!-- <h2 class="heading-medium" id="support">Support</h2>
<p class="govuk-body">Notify provides 24-hour online support. If you have an emergency outside office hours, well reply within 30 minutes.</p>
<p class="govuk-body">Find out more about <a class="usa-link" href="{{ url_for('.support') }}">support</a>.</p> -->
<p class="usa-body">Notify provides 24-hour online support. If you have an emergency outside office hours, well reply within 30 minutes.</p>
<p class="usa-body">Find out more about <a class="usa-link" href="{{ url_for('.support') }}">support</a>.</p> -->
{% endblock %}

View File

@@ -9,7 +9,7 @@
<h1 class="heading-large">Edit and format messages</h1>
<p class="govuk-body">This page explains how to:</p>
<p class="usa-body">This page explains how to:</p>
<ul class="list list-bullet">
<li><a class="usa-link" href="#formatting">format your content</a></li>
<li><a class="usa-link" href="#links">add links</a></li>
@@ -19,14 +19,14 @@
<h2 class="heading-medium" id="formatting">Format your content</h2>
<p class="govuk-body">You can see a list of formatting instructions on the edit template page:</p>
<p class="usa-body">You can see a list of formatting instructions on the edit template page:</p>
<ol class="list list-number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
<li>Add a new template or choose an existing template and select <b class="bold">Edit</b>.</li>
</ol>
<!-- <p class="govuk-body">Email templates can include:</p>
<!-- <p class="usa-body">Email templates can include:</p>
<ul class="list list-bullet">
<li>headings</li>
<li>bullets</li>
@@ -34,15 +34,15 @@
<li>horizontal rules</li>
</ul>
<p class="govuk-body">Notify does not allow bold, italics, subheadings, underlined text or different fonts. This is because they can make it harder for users to read what youve written.</p> -->
<p class="usa-body">Notify does not allow bold, italics, subheadings, underlined text or different fonts. This is because they can make it harder for users to read what youve written.</p> -->
<h2 class="heading-medium" id="links">Add links</h2>
<p class="govuk-body">When composing a text message, write URLs in full and Notify will convert them into links for you.</p>
<p class="usa-body">When composing a text message, write URLs in full and Notify will convert them into links for you.</p>
<p class="govuk-body">You cannot convert text into a link. <!-- Research shows that people like to check a URL looks genuine before clicking the link in an email. This is hard to do if the URL is hidden behind clickable link text.--></p>
<p class="usa-body">You cannot convert text into a link. <!-- Research shows that people like to check a URL looks genuine before clicking the link in an email. This is hard to do if the URL is hidden behind clickable link text.--></p>
<p class="govuk-body">We do not recommend using a third-party link shortening service because:</p>
<p class="usa-body">We do not recommend using a third-party link shortening service because:</p>
<ul class="list list-bullet">
<li>your users cannot see where the link will take them</li>
@@ -52,11 +52,11 @@
<h2 class="heading-medium" id="personalized-content">Personalize your content</h2>
<p class="govuk-body">To personalize the content of your messages, add a placeholder to the template.</p>
<p class="usa-body">To personalize the content of your messages, add a placeholder to the template.</p>
<p class="govuk-body">Placeholders are filled in with details, like a name or reference number, each time you send a message.</p>
<p class="usa-body">Placeholders are filled in with details, like a name or reference number, each time you send a message.</p>
<p class="govuk-body">To add a placeholder to the template:</p>
<p class="usa-body">To add a placeholder to the template:</p>
<ol class="list list-number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
@@ -65,18 +65,18 @@
<li>Select <b class="bold">Save</b>.</li>
</ol>
<p class="govuk-body">When you send a message you can either:</p>
<p class="usa-body">When you send a message you can either:</p>
<ul class="list list-bullet">
<li>manually fill in the placeholders yourself</li>
<li>upload a list of personal details and let Notify do it for you</li>
</ul>
<p class="govuk-body">If you upload a list, the column names need to match the placeholders in your template.</p>
<p class="usa-body">If you upload a list, the column names need to match the placeholders in your template.</p>
<h2 class="heading-medium" id="optional-content">Add optional content</h2>
<p class="govuk-body">To add optional content to your messages:</p>
<p class="usa-body">To add optional content to your messages:</p>
<ol class="list list-number">
<li>Go to the {{ service_link(current_service, 'main.choose_template', 'templates') }} page.</li>
@@ -85,13 +85,13 @@
<li>Select <b class="bold">Save</b>.</li>
</ol>
<p class="govuk-body">For each person you send this message to, specify yes or no to show or hide this content. You can either:</p>
<p class="usa-body">For each person you send this message to, specify yes or no to show or hide this content. You can either:</p>
<ul class="list list-bullet">
<li>do this yourself</li>
<li>upload a list of personal details and let Notify do it for you</li>
</ul>
<p class="govuk-body">If you upload a list, the column names need to match the optional content in your template.</p>
<p class="usa-body">If you upload a list, the column names need to match the optional content in your template.</p>
{% endblock %}

View File

@@ -51,7 +51,7 @@
</ul>
{# only show if the service has folders #}
{% if current_service.all_template_folders %}
<p class="govuk-body tick-cross-list-hint">
<p class="usa-body tick-cross-list-hint">
{% set folder_count = user.template_folders_for_service(current_service) | length %}
{% if folder_count == 0 %}
@@ -64,7 +64,7 @@
</p>
{% endif %}
{% if current_service.has_permission('email_auth') %}
<p class="govuk-body tick-cross-list-hint">
<p class="usa-body tick-cross-list-hint">
Signs in with
{{ user.auth_type | format_auth_type(with_indefinite_article=True) }}
</p>

View File

@@ -5,7 +5,7 @@
{% if form.folder_permissions.all_template_folders %}
{{ form.folder_permissions }}
{% elif user and user.platform_admin %}
<p class="bottom-gutter govuk-body">
<p class="bottom-gutter usa-body">
Platform admin users can access all template folders.
</p>
{% endif %}

View File

@@ -87,7 +87,7 @@
{% endfor %}
<div class="keyline-block"></div>
{% if not services %}
<p class="govuk-body usa-hint">
<p class="usa-body usa-hint">
{{ current_org.name }} has no live services on Notify.gov
</p>
<div class="keyline-block"></div>

View File

@@ -10,7 +10,7 @@
Summary
</h1>
<p class="govuk-body">
<p class="usa-body">
<a class="usa-link" href="{{ url_for('main.platform_admin') }}">Load summary</a>
</p>

View File

@@ -31,7 +31,7 @@
{% if not current_service.data_retention %}
<div class="user-list">
<div class="user-list-item">
<p class="govuk-body user-list-item-blank hint">You have not added any data retention</p>
<p class="usa-body user-list-item-blank hint">You have not added any data retention</p>
</div>
</div>
{% else %}

View File

@@ -12,7 +12,7 @@
<span class='loading-indicator'>This can take a minute</span>
</p>
<p class="js-hidden govuk-body">
<p class="js-hidden usa-body">
<a class="usa-link" href="{{ url_for('main.service_verify_reply_to_address', service_id=service_id, notification_id=notification_id, is_default=is_default, replace=replace) }}">Refresh</a>
</p>
{% elif verification_status == "success" %}

View File

@@ -20,7 +20,7 @@
<div class="user-list">
{% if not current_service.email_reply_to_addresses %}
<div class="user-list-item">
<p class="govuk-body user-list-item-blank hint">You have not added any reply-to email addresses yet</p>
<p class="usa-body user-list-item-blank hint">You have not added any reply-to email addresses yet</p>
</div>
{% endif %}
{% for item in current_service.email_reply_to_addresses %}

View File

@@ -16,7 +16,7 @@
{{ page_header('Change your service name') }}
<p class="govuk-body">Your service name should tell users what the message is about as well as who its from. For example:</p>
<p class="usa-body">Your service name should tell users what the message is about as well as who its from. For example:</p>
<ul class="govuk-list govuk-list--bullet">
<li>School admissions - {{ current_service.organization.name or current_user.default_organization.name }}</li>
<li>Electoral services - {{ current_service.organization.name or current_user.default_organization.name }}</li>

View File

@@ -18,20 +18,20 @@
{{ page_header('Change your service name') }}
<p class="govuk-body">Your service name should tell users what the message is about as well as who its from.</p>
<p class="usa-body">Your service name should tell users what the message is about as well as who its from.</p>
<p class="govuk-body">You should only use an acronym or initialism if your users are already familiar with it.</p>
<p class="usa-body">You should only use an acronym or initialism if your users are already familiar with it.</p>
<div>
{% if current_service.prefix_sms %}
<p class="govuk-body">Users will see your service name at the start of every text message</p>
<p class="usa-body">Users will see your service name at the start of every text message</p>
{% else %}
<p class="govuk-body">Users will see your service name as your email sender name.</p>
<p class="usa-body">Users will see your service name as your email sender name.</p>
{% endif %}
</div>
<p class="govuk-body">The service name you enter here will appear at the beginning of each text message, unless you turn off this off in Settings > Start text message with service name.
<p class="usa-body">The service name you enter here will appear at the beginning of each text message, unless you turn off this off in Settings > Start text message with service name.
{% call form_wrapper() %}

View File

@@ -20,7 +20,7 @@
<div class="user-list">
{% if not current_service.sms_senders %}
<div class="user-list-item">
<p class="govuk-body user-list-item-blank hint">You have not added any text message senders yet</p>
<p class="usa-body user-list-item-blank hint">You have not added any text message senders yet</p>
</div>
{% endif %}
{% for item in current_service.sms_senders_with_hints %}

View File

@@ -75,8 +75,8 @@
{% for credential in credentials %}
{% call row() %}
{% call field() %}
<div class="govuk-body">{{ credential.name }}</div>
<div class="govuk-body hint">Registered {{ credential.created_at|format_delta }}</div>
<div class="usa-body">{{ credential.name }}</div>
<div class="usa-body hint">Registered {{ credential.created_at|format_delta }}</div>
{% endcall %}
{{ edit_field('Manage', url_for('.user_profile_manage_security_key', key_id=credential.id)) }}
{% endcall %}

View File

@@ -25,7 +25,7 @@
<ul class="govuk-list govuk-list--bullet">
<li>find a member of your team who has permission to manage settings, team and usage</li>
<li>ask them to change the mobile number for your account</li>
<li>select <span class="govuk-body bold">Resend security code</span></li>
<li>select <span class="usa-body bold">Resend security code</span></li>
</ul>
</div>
</div>