diff --git a/app/templates/components/banner.html b/app/templates/components/banner.html index 432292bc9..fbf3d6115 100644 --- a/app/templates/components/banner.html +++ b/app/templates/components/banner.html @@ -17,7 +17,7 @@ {%- endif -%} {{ body }} {% if context %} -

+

{{ context }}

{% endif %} diff --git a/app/templates/error/401.html b/app/templates/error/401.html index 5a3ce2ea2..0bf19acab 100644 --- a/app/templates/error/401.html +++ b/app/templates/error/401.html @@ -4,6 +4,6 @@

You’re not authorised to see this page

-

Sign in to GOV.UK Notify and try again.

+

Sign in to GOV.UK Notify and try again.

{% endblock %} diff --git a/app/templates/error/403.html b/app/templates/error/403.html index bf6845b91..7c2c86a90 100644 --- a/app/templates/error/403.html +++ b/app/templates/error/403.html @@ -6,7 +6,7 @@

You’re not allowed to see this page

-

+

To check your permissions, speak to a member of your team who can manage settings, team and usage.

diff --git a/app/templates/error/404.html b/app/templates/error/404.html index b50e23adb..fdf574ca0 100644 --- a/app/templates/error/404.html +++ b/app/templates/error/404.html @@ -6,13 +6,13 @@

Page not found

-

+

If you typed the web address, check it is correct.

-

+

If you pasted the web address, check you copied the entire address.

-

+

If the web address is correct or you selected a link or button, contact us.

diff --git a/app/templates/error/410.html b/app/templates/error/410.html index b50e23adb..fdf574ca0 100644 --- a/app/templates/error/410.html +++ b/app/templates/error/410.html @@ -6,13 +6,13 @@

Page not found

-

+

If you typed the web address, check it is correct.

-

+

If you pasted the web address, check you copied the entire address.

-

+

If the web address is correct or you selected a link or button, contact us.

diff --git a/app/templates/error/413.html b/app/templates/error/413.html index f273a10f1..027edcf19 100644 --- a/app/templates/error/413.html +++ b/app/templates/error/413.html @@ -8,10 +8,10 @@
-

+

Files must be smaller than 5 MB.

-

+

Go back and try again.

diff --git a/app/templates/error/500.html b/app/templates/error/500.html index 32562ff18..5b44413fc 100644 --- a/app/templates/error/500.html +++ b/app/templates/error/500.html @@ -6,13 +6,13 @@

Sorry, there’s a problem with GOV.UK Notify

-

+

Try again later.

-

+

You can check our system status page to see if there are any known issues.

-

+

To report a problem, email notify-support@digital.cabinet-office.gov.uk

diff --git a/app/templates/partials/check/letter-too-long.html b/app/templates/partials/check/letter-too-long.html index 42512c71a..50d377945 100644 --- a/app/templates/partials/check/letter-too-long.html +++ b/app/templates/partials/check/letter-too-long.html @@ -1,7 +1,7 @@

Your letter is too long

-

+

Letters must be {{ letter_max_pages }} pages or less ({{ letter_max_pages // 2 }} double-sided sheets of paper).
Your letter is {{ page_count }} pages long. diff --git a/app/templates/partials/check/letter-validation-failed-banner.html b/app/templates/partials/check/letter-validation-failed-banner.html index b85720cf1..6596c31dd 100644 --- a/app/templates/partials/check/letter-validation-failed-banner.html +++ b/app/templates/partials/check/letter-validation-failed-banner.html @@ -10,7 +10,7 @@ {{ message.title }} {% if message.detail %} -

+

{{ message.detail | safe }}

{% endif %} diff --git a/app/templates/partials/check/message-too-long.html b/app/templates/partials/check/message-too-long.html index 9b07ca20b..aca32f519 100644 --- a/app/templates/partials/check/message-too-long.html +++ b/app/templates/partials/check/message-too-long.html @@ -1,7 +1,7 @@

Message too long

-

+

Text messages cannot be longer than {{ SMS_CHAR_COUNT_LIMIT }} characters. Your message is {{ template.content_count }} characters.

diff --git a/app/templates/partials/check/not-allowed-to-send-to.html b/app/templates/partials/check/not-allowed-to-send-to.html index d3ee32933..ad00b0cb1 100644 --- a/app/templates/partials/check/not-allowed-to-send-to.html +++ b/app/templates/partials/check/not-allowed-to-send-to.html @@ -6,7 +6,7 @@ {{ 'es' if 'email address' == template_type_label else 's' }} {%- endif %} -

+

In trial mode you can only send to yourself and members of your team

diff --git a/app/templates/partials/check/sent-previously.html b/app/templates/partials/check/sent-previously.html index 136e3f3e2..df861fb2c 100644 --- a/app/templates/partials/check/sent-previously.html +++ b/app/templates/partials/check/sent-previously.html @@ -1,6 +1,6 @@

These messages have already been sent today

-

+

If you need to resend them, rename the file and upload it again.

diff --git a/app/templates/partials/check/too-many-messages.html b/app/templates/partials/check/too-many-messages.html index 341622ba5..5d1d9d50b 100644 --- a/app/templates/partials/check/too-many-messages.html +++ b/app/templates/partials/check/too-many-messages.html @@ -5,7 +5,7 @@ Daily limit reached {% endif %} -

+

You can only send {{ current_service.message_limit }} messages per day {%- if current_service.trial_mode %} in trial mode @@ -13,7 +13,7 @@ .

{% if original_file_name %} -

+

{% if current_service.message_limit != remaining_messages %} You can still send {{ remaining_messages }} messages today, but {% endif %} diff --git a/app/templates/partials/check/trying-to-send-letters-in-trial-mode.html b/app/templates/partials/check/trying-to-send-letters-in-trial-mode.html index 55c8f784d..3fec6e14a 100644 --- a/app/templates/partials/check/trying-to-send-letters-in-trial-mode.html +++ b/app/templates/partials/check/trying-to-send-letters-in-trial-mode.html @@ -2,7 +2,7 @@ You cannot send {{ 'this letter' if count_of_recipients == 1 else 'these letters' }} -

+

In trial mode you can only preview how your letters will look

diff --git a/app/templates/partials/jobs/notifications.html b/app/templates/partials/jobs/notifications.html index 86c52fb57..b77d5bd88 100644 --- a/app/templates/partials/jobs/notifications.html +++ b/app/templates/partials/jobs/notifications.html @@ -5,7 +5,7 @@
{% if job.scheduled %} -

+

Sending {{ job.template.name }} {{ job.scheduled_for|format_datetime_relative }} diff --git a/app/templates/partials/jobs/status.html b/app/templates/partials/jobs/status.html index 581e90a23..b6114545c 100644 --- a/app/templates/partials/jobs/status.html +++ b/app/templates/partials/jobs/status.html @@ -4,7 +4,7 @@ {% if job.processing_started %} Sent by {{ job.created_by.name }} on {{ job.processing_started|format_datetime_short }} {% if job.template.template_type == "letter" %} -

+

{{ letter_print_day }}

{% endif %} @@ -14,7 +14,7 @@ {% else %} Sent by {{ job.created_by.name }} on {{ job.created_at|format_datetime_short }} {% if job.template.template_type == "letter" %} -

+

{{ letter_print_day }}

{% endif %} diff --git a/app/templates/partials/notifications/notifications.html b/app/templates/partials/notifications/notifications.html index d982e2a97..021a03b4c 100644 --- a/app/templates/partials/notifications/notifications.html +++ b/app/templates/partials/notifications/notifications.html @@ -16,7 +16,7 @@ field_headings_visible=False ) %} {% call row_heading() %} -

{{ item.to }}

+

{{ item.to }}

{% endcall %} {{ notification_status_field(item) }} {% endcall %} diff --git a/app/templates/partials/templates/guidance-character-count.html b/app/templates/partials/templates/guidance-character-count.html index 1f39028e8..9b734184a 100644 --- a/app/templates/partials/templates/guidance-character-count.html +++ b/app/templates/partials/templates/guidance-character-count.html @@ -1,8 +1,8 @@

Message length

-

+

If your message is long then it will cost more.

-

+

See pricing for details.

diff --git a/app/templates/partials/templates/guidance-formatting-letters.html b/app/templates/partials/templates/guidance-formatting-letters.html index f630a74bc..6e02550f5 100644 --- a/app/templates/partials/templates/guidance-formatting-letters.html +++ b/app/templates/partials/templates/guidance-formatting-letters.html @@ -1,27 +1,27 @@

Formatting

-

+

To put a heading in your template, use a hash:

-

+

# This is a heading

-

+

To make bullet points, use asterisks:

-

+

* point 1
* point 2
* point 3

-

+

To insert a page break, use three asterisks:

-

+

Content on page 1

***
diff --git a/app/templates/partials/templates/guidance-formatting.html b/app/templates/partials/templates/guidance-formatting.html index 7edd5794b..6c405f598 100644 --- a/app/templates/partials/templates/guidance-formatting.html +++ b/app/templates/partials/templates/guidance-formatting.html @@ -3,7 +3,7 @@ To put a title in your template, use a hash:

-

+

# This is a title

@@ -11,7 +11,7 @@ To make bullet points, use asterisks:

-

+

* point 1
* point 2
* point 3
@@ -21,7 +21,7 @@ To add inset text, use a caret:

-

+

^ You must tell us if your circumstances change

@@ -29,13 +29,13 @@ To add a horizontal line, use three dashes:

-

+

First paragraph

---

-

+

Second paragraph

diff --git a/app/templates/partials/templates/guidance-links.html b/app/templates/partials/templates/guidance-links.html index 70c78d852..13233badc 100644 --- a/app/templates/partials/templates/guidance-links.html +++ b/app/templates/partials/templates/guidance-links.html @@ -3,7 +3,7 @@ Always use full URLs, starting with https://

-

+

Apply now at https://www.gov.uk/example

diff --git a/app/templates/partials/templates/guidance-optional-content.html b/app/templates/partials/templates/guidance-optional-content.html index 7303ee7a9..31e2469d3 100644 --- a/app/templates/partials/templates/guidance-optional-content.html +++ b/app/templates/partials/templates/guidance-optional-content.html @@ -1,7 +1,7 @@

Optional content

-

+

Use double brackets and ‘??’ to define optional content.

@@ -9,12 +9,12 @@ 18:

-

+

((under18??Please get your application signed by a parent or guardian.))

-

+

For each person you send this message to, specify ‘yes’ or ‘no’ to show or hide this content.

diff --git a/app/templates/partials/templates/guidance-personalisation.html b/app/templates/partials/templates/guidance-personalisation.html index 247792d22..8730dacc2 100644 --- a/app/templates/partials/templates/guidance-personalisation.html +++ b/app/templates/partials/templates/guidance-personalisation.html @@ -5,7 +5,7 @@ Use double brackets to personalise your message:

-

+

Hello ((first name)), your reference is ((ref number))

diff --git a/app/templates/partials/templates/guidance-postage.html b/app/templates/partials/templates/guidance-postage.html index c0b78a00e..cac43b94d 100644 --- a/app/templates/partials/templates/guidance-postage.html +++ b/app/templates/partials/templates/guidance-postage.html @@ -1,15 +1,15 @@

Delivery times

-

+

Letters sent before 5:30pm are dispatched the next working day (Monday to Friday).

-

+

First class letters are delivered one day after they're dispatched. Second class letters are delivered 2 days after they're dispatched.

-

+

Royal Mail delivers from Monday to Saturday, excluding bank holidays.

-

+

See a list of postage prices.

diff --git a/app/templates/partials/templates/guidance-send-a-document.html b/app/templates/partials/templates/guidance-send-a-document.html index 6a67d6ce8..e78cbc9ce 100644 --- a/app/templates/partials/templates/guidance-send-a-document.html +++ b/app/templates/partials/templates/guidance-send-a-document.html @@ -1,11 +1,11 @@

Send a document by email

-

+

Use double brackets to add a placeholder field to your template. This will contain a secure link to download the document.

-

+

Download your document at: ((link_to_file))

diff --git a/app/templates/partials/tour.html b/app/templates/partials/tour.html index e4ea7f74b..a8c92c922 100644 --- a/app/templates/partials/tour.html +++ b/app/templates/partials/tour.html @@ -7,7 +7,7 @@

1.

-

+

Every message is sent from a template

@@ -17,7 +17,7 @@

2.

-

+

The template pulls in the data you provide

@@ -27,7 +27,7 @@

3.

-

+

Notify delivers the message

{% if help == '3' %} diff --git a/app/templates/views/agreement/agreement-confirm.html b/app/templates/views/agreement/agreement-confirm.html index dd21769ad..f43c168e3 100644 --- a/app/templates/views/agreement/agreement-confirm.html +++ b/app/templates/views/agreement/agreement-confirm.html @@ -20,11 +20,11 @@ {% call form_wrapper(class='top-gutter') %} {% if current_service.organisation.agreement_signed_on_behalf_of_name and current_service.organisation.agreement_signed_on_behalf_of_email_address %} -

+

I confirm that I have the legal authority to accept the GOV.UK Notify data sharing and financial agreement (version {{ current_service.organisation.agreement_signed_version }}) on behalf of {{ current_service.organisation.agreement_signed_on_behalf_of_name }} ({{ current_service.organisation.agreement_signed_on_behalf_of_email_address }}) and that {{ current_service.organisation.name }} will be bound by it.

{% else %} -

+

I confirm that I have the legal authority to accept the GOV.UK Notify data sharing and financial agreement (version {{ current_service.organisation.agreement_signed_version }}) and that {{ current_service.organisation.name }} will be bound by it.

{% endif %} diff --git a/app/templates/views/agreement/agreement-public.html b/app/templates/views/agreement/agreement-public.html index bb157bcf3..1afc56739 100644 --- a/app/templates/views/agreement/agreement-public.html +++ b/app/templates/views/agreement/agreement-public.html @@ -14,10 +14,10 @@ Download the GOV.UK Notify data sharing and financial agreement -

+

Download the agreement{% if owner %} for {{ owner }}{% endif %}.

-

+

The agreement contains commercially sensitive information. Do not share it outside your organisation.

diff --git a/app/templates/views/agreement/service-agreement-choose.html b/app/templates/views/agreement/service-agreement-choose.html index 31c466636..c8f7de945 100644 --- a/app/templates/views/agreement/service-agreement-choose.html +++ b/app/templates/views/agreement/service-agreement-choose.html @@ -15,19 +15,19 @@ back_link=url_for('main.request_to_go_live', service_id=current_service.id) )}} -

+

Before you can use GOV.UK Notify, you need to accept our data sharing and financial agreement.

-

+

This must be done by, or on behalf of, someone with the authority to sign contracts for your organisation.

-

+

Once accepted, the agreement covers all Notify services from your organisation.

-

+

There are different agreements for crown and non-crown organisations.

-

+

Contact us to tell us whether or not you work for a crown organisation. If you’re not sure we’ll help you work it out. diff --git a/app/templates/views/agreement/service-agreement-signed.html b/app/templates/views/agreement/service-agreement-signed.html index 0f14b14a3..8a086eb0f 100644 --- a/app/templates/views/agreement/service-agreement-signed.html +++ b/app/templates/views/agreement/service-agreement-signed.html @@ -15,13 +15,13 @@ back_link=url_for('main.request_to_go_live', service_id=current_service.id) )}} -

+

{{ current_service.organisation.name }} has already accepted the GOV.UK Notify data sharing and financial agreement.

-

For more information, you can download a copy of the agreement. +

For more information, you can download a copy of the agreement.

-

+

The agreement is confidential and should not be shared outside your organisation.

diff --git a/app/templates/views/agreement/service-agreement.html b/app/templates/views/agreement/service-agreement.html index 5f6e94468..ae03da0c8 100644 --- a/app/templates/views/agreement/service-agreement.html +++ b/app/templates/views/agreement/service-agreement.html @@ -16,19 +16,19 @@ back_link=url_for('main.request_to_go_live', service_id=current_service.id) )}} -

+

Before you can use GOV.UK Notify, you need to accept our data sharing and financial agreement.

-

+

This must be done by, or on behalf of, someone with the authority to sign contracts for {{ current_service.organisation.name }}.

-

+

Once accepted, the agreement covers all Notify services from {{ current_service.organisation.name }}.

-

+

Download a copy of the data sharing and financial agreement.

-

+

The agreement is confidential and should not be shared outside your organisation.

{{ govukButton({ diff --git a/app/templates/views/api/callbacks/delivery-status-callback.html b/app/templates/views/api/callbacks/delivery-status-callback.html index c2efcacdd..ee0841b08 100644 --- a/app/templates/views/api/callbacks/delivery-status-callback.html +++ b/app/templates/views/api/callbacks/delivery-status-callback.html @@ -17,7 +17,7 @@ back_link=url_for(back_link, service_id=current_service.id) ) }} -

+

When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of our API documentation for more information.

diff --git a/app/templates/views/api/callbacks/received-text-messages-callback.html b/app/templates/views/api/callbacks/received-text-messages-callback.html index d592ee704..1d02b146b 100644 --- a/app/templates/views/api/callbacks/received-text-messages-callback.html +++ b/app/templates/views/api/callbacks/received-text-messages-callback.html @@ -15,7 +15,7 @@ ) }}
-

+

When you receive a text message in Notify, we can forward it to your system. Check the callback documentation for more information.

diff --git a/app/templates/views/api/keys/show.html b/app/templates/views/api/keys/show.html index 512f86e6f..f9012afff 100644 --- a/app/templates/views/api/keys/show.html +++ b/app/templates/views/api/keys/show.html @@ -13,10 +13,10 @@ New API key -

+

Copy your key to somewhere safe.

-

+

You will not be able to see it again once you leave this page.

diff --git a/app/templates/views/api/whitelist.html b/app/templates/views/api/whitelist.html index f7d4ee1f0..e8fa33977 100644 --- a/app/templates/views/api/whitelist.html +++ b/app/templates/views/api/whitelist.html @@ -18,7 +18,7 @@

There was a problem with your whitelist

-

Fix these errors:

+

Fix these errors:

    {% if form.email_addresses.errors %}
  • @@ -39,7 +39,7 @@ ) }} {% endif %} -

    +

    You and members of your team are included in the whitelist automatically. diff --git a/app/templates/views/cancelled-invitation.html b/app/templates/views/cancelled-invitation.html index 929b1451f..f18ebcfe0 100644 --- a/app/templates/views/cancelled-invitation.html +++ b/app/templates/views/cancelled-invitation.html @@ -6,10 +6,10 @@

    The invitation you were sent has been cancelled

    -

    +

    {{ from_user }} decided to cancel this invitation.

    -

    +

    If you need access to {{ service_name or organisation_name }}, you’ll have to ask them to invite you again.

diff --git a/app/templates/views/change-email-continue.html b/app/templates/views/change-email-continue.html index 7fbc1f043..cdf733e72 100644 --- a/app/templates/views/change-email-continue.html +++ b/app/templates/views/change-email-continue.html @@ -7,7 +7,7 @@ {% block maincolumn_content %}

Check your email​

-

An email has been sent to {{ new_email }}.

-

Click the link in the email to confirm the change to your email address.

+

An email has been sent to {{ new_email }}.

+

Click the link in the email to confirm the change to your email address.

{% endblock %} diff --git a/app/templates/views/check/column-errors.html b/app/templates/views/check/column-errors.html index c7e98b311..b6c8e0e11 100644 --- a/app/templates/views/check/column-errors.html +++ b/app/templates/views/check/column-errors.html @@ -29,7 +29,7 @@

Your file has too many rows

-

+

Notify can process up to {{ "{:,}".format(recipients.max_rows) }} rows at once. Your file has {{ "{:,}".format(recipients|length) }} rows. @@ -41,14 +41,14 @@ Your file is missing some rows {% if recipients.missing_column_headers %} -

+

It needs at least one row of data, and {{ recipients.missing_column_headers | sort() | formatted_list( prefix='a column called', prefix_plural='columns called' ) }}.

{% else %} -

+

It needs at least one row of data.

{% endif %} @@ -59,16 +59,16 @@ There’s a problem with your column names {% if template.template_type == 'letter' %} -

+

Your file needs at least 3 address columns, for example ‘address line 1’, ‘address line 2’ and ‘address line 3’.

{% else %} -

+

Your file needs a column called ‘{{ first_recipient_column }}’.

{% endif %} -

+

Right now it has {{ recipients.column_headers | formatted_list( prefix='one column, called ', prefix_plural='columns called ' @@ -80,7 +80,7 @@

There’s a problem with your column names

-

+

We found more than one column called {{ ( recipients.duplicate_recipient_column_headers ) | formatted_list( @@ -89,7 +89,7 @@ prefix_plural='' ) }}.

-

+

Delete or rename one of these columns and try again.

@@ -98,7 +98,7 @@

Your column names need to match the double brackets in your template

-

+

Your file is missing {{ recipients.missing_column_headers | formatted_list( conjunction='and', prefix='a column called ', diff --git a/app/templates/views/check/row-errors.html b/app/templates/views/check/row-errors.html index d738af271..839edddb7 100644 --- a/app/templates/views/check/row-errors.html +++ b/app/templates/views/check/row-errors.html @@ -27,14 +27,14 @@

There’s a problem with {{ original_file_name }}

-

+

You need to {{ row_errors[0] }}.

{% else %}

There are some problems with {{ original_file_name }}

-

+

You need to:

diff --git a/app/templates/views/email-not-received.html b/app/templates/views/email-not-received.html index abe84c999..f7eb1dd96 100644 --- a/app/templates/views/email-not-received.html +++ b/app/templates/views/email-not-received.html @@ -11,8 +11,8 @@

Resend email link

-

Emails sometimes take a few minutes to arrive. If you do not receive an email link, Notify can send you a new one.

-

+

Emails sometimes take a few minutes to arrive. If you do not receive an email link, Notify can send you a new one.

+

{{ govukButton({ "element": "a", "text": "Resend email link", @@ -21,7 +21,7 @@

If your email address has changed

-

You’ll need to:

+

You’ll need to: