From a9d65f80c395dce4a902d101ac82a46ab701e8e0 Mon Sep 17 00:00:00 2001 From: Tim Lowden Date: Wed, 23 Nov 2022 09:58:54 -0500 Subject: [PATCH 1/4] Delivery Status, Text Messages, Nav cleanup --- app/main/views/sub_navigation_dictionaries.py | 28 +++++++++---------- .../views/features/text-messages.html | 15 +++++++--- .../guidance/branding-and-customisation.html | 2 +- app/templates/views/message-status.html | 4 +-- 4 files changed, 28 insertions(+), 21 deletions(-) diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 314f92c63..02fad853a 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -59,14 +59,14 @@ def using_notify_nav(): "name": "Formatting", "link": "main.edit_and_format_messages", }, - { - "name": "Branding", - "link": "main.branding_and_customisation", - }, - { - "name": "Send files by email", - "link": "main.send_files_by_email", - }, + #{ + # "name": "Branding", + # "link": "main.branding_and_customisation", + # }, + # { + # "name": "Send files by email", + # "link": "main.send_files_by_email", + #}, # { # "name": "Upload a letter", # "link": "main.upload_a_letter", @@ -75,10 +75,10 @@ def using_notify_nav(): # "name": "Letter specification", # "link": "main.letter_specification", # }, - ] - }, - { - "name": "API documentation", - "link": "main.documentation", - }, + #] + # }, + # { + # "name": "API documentation", + # "link": "main.documentation", + # }, ] diff --git a/app/templates/views/features/text-messages.html b/app/templates/views/features/text-messages.html index 649e3fafd..6d9c35af2 100644 --- a/app/templates/views/features/text-messages.html +++ b/app/templates/views/features/text-messages.html @@ -17,18 +17,25 @@

Notify makes it easy to:

-

You can also integrate with our API to send text messages automatically.

+

Show people who your texts are from

When you send a text message with Notify, the sender name tells people who it’s from.

-

See how to change the text message sender.

+ +

To change the text message sender from the default of ‘US Notify’:

+ +
    +
  1. Go to the Text message settings section of the {{ service_link(current_service, 'main.service_settings', 'settings') }} page.
  2. +
  3. Select Manage on the Text message senders row.
  4. +
  5. Select Change or Add text message sender.
  6. +

Pricing

Each service you add has an annual allowance of free text messages.

diff --git a/app/templates/views/guidance/branding-and-customisation.html b/app/templates/views/guidance/branding-and-customisation.html index 0fd0804e3..db442faf9 100644 --- a/app/templates/views/guidance/branding-and-customisation.html +++ b/app/templates/views/guidance/branding-and-customisation.html @@ -45,7 +45,7 @@

The text message sender tells your users who the message is from.

-

To change the text message sender from the default of ‘GOVUK’:

+

To change the text message sender from the default of ‘US Notify’:

  1. Go to the Text message settings section of the {{ service_link(current_service, 'main.service_settings', 'settings') }} page.
  2. diff --git a/app/templates/views/message-status.html b/app/templates/views/message-status.html index 08a6e2195..012eb6896 100644 --- a/app/templates/views/message-status.html +++ b/app/templates/views/message-status.html @@ -12,7 +12,7 @@

    Notify’s real-time dashboard lets you check the status of any message, to see when it was delivered.

    For security, 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.

    This page describes the statuses you’ll see when you’re signed in to Notify.

    -

    If you’re using the Notify API, read our documentation for a list of API statuses.

    +

    Text messages

    From f8220f57777cb6241fb63280a64a506aaa4d590a Mon Sep 17 00:00:00 2001 From: Ryan Ahearn Date: Mon, 28 Nov 2022 11:30:25 -0500 Subject: [PATCH 2/4] Fix mismatched comments and imports --- app/main/views/sub_navigation_dictionaries.py | 12 ++++++------ app/templates/views/features/text-messages.html | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 02fad853a..df5a21918 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -59,14 +59,14 @@ def using_notify_nav(): "name": "Formatting", "link": "main.edit_and_format_messages", }, - #{ + # { # "name": "Branding", # "link": "main.branding_and_customisation", # }, # { # "name": "Send files by email", # "link": "main.send_files_by_email", - #}, + # }, # { # "name": "Upload a letter", # "link": "main.upload_a_letter", @@ -75,10 +75,10 @@ def using_notify_nav(): # "name": "Letter specification", # "link": "main.letter_specification", # }, - #] - # }, + ] + }, # { - # "name": "API documentation", - # "link": "main.documentation", + # "name": "API documentation", + # "link": "main.documentation", # }, ] diff --git a/app/templates/views/features/text-messages.html b/app/templates/views/features/text-messages.html index 6d9c35af2..cc49c63da 100644 --- a/app/templates/views/features/text-messages.html +++ b/app/templates/views/features/text-messages.html @@ -1,5 +1,6 @@ {% extends "content_template.html" %} {% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %} +{% from "components/service-link.html" import service_link %} {% block per_page_title %} Text messages @@ -19,7 +20,7 @@
  3. create reusable text message templates
  4. personalize the content of your texts
  5. send and schedule bulk messages
  6. -