From cb41d9e70655ed954e7c02b3d6b6735a22051d98 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 22 Jan 2025 10:41:29 -0800 Subject: [PATCH] changing guidance to how-do --- app/content/get-started.md | 2 +- app/main/views/index.py | 18 +++++++++--------- app/main/views/sub_navigation_dictionaries.py | 2 +- app/navigation.py | 2 +- app/templates/views/features.html | 2 +- .../create-and-send-messages.html | 0 .../edit-and-format-messages.html | 0 .../views/{guidance => how-to}/index.html | 4 ++-- .../send-files-by-email.html | 0 app/templates/views/support/index.html | 2 +- tests/app/main/views/test_index.py | 2 +- tests/app/test_navigation.py | 2 +- urls.js | 2 +- 13 files changed, 19 insertions(+), 19 deletions(-) rename app/templates/views/{guidance => how-to}/create-and-send-messages.html (100%) rename app/templates/views/{guidance => how-to}/edit-and-format-messages.html (100%) rename app/templates/views/{guidance => how-to}/index.html (98%) rename app/templates/views/{guidance => how-to}/send-files-by-email.html (100%) diff --git a/app/content/get-started.md b/app/content/get-started.md index 7d18aacbd..c97b9efc6 100644 --- a/app/content/get-started.md +++ b/app/content/get-started.md @@ -5,7 +5,7 @@ Explore Notify, add team members, and practice [sending messages to teammates](/using-notify/trial-mode). 2. ## Personalize content -Learn how to [personalize messages](/using-notify/guidance) to increase response. +Learn how to [personalize messages](/using-notify/how-to) to increase response. 3. ## Check delivery status [Analyze the delivery](/using-notify/delivery-status) of your messages and download reports diff --git a/app/main/views/index.py b/app/main/views/index.py index 8b63d2bd8..5c0312afc 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -217,11 +217,11 @@ def benchmark_performance(): ) -@main.route("/using-notify/guidance") +@main.route("/using-notify/how-to") @user_is_logged_in -def guidance_index(): +def how_to(): return render_template( - "views/guidance/index.html", + "views/how-to/index.html", navigation_links=using_notify_nav(), ) @@ -266,29 +266,29 @@ def join_notify(): ) -@main.route("/using-notify/guidance/create-and-send-messages") +@main.route("/using-notify/how-to/create-and-send-messages") @user_is_logged_in def create_and_send_messages(): return render_template( - "views/guidance/create-and-send-messages.html", + "views/how-to/create-and-send-messages.html", navigation_links=using_notify_nav(), ) -@main.route("/using-notify/guidance/edit-and-format-messages") +@main.route("/using-notify/how-to/edit-and-format-messages") @user_is_logged_in def edit_and_format_messages(): return render_template( - "views/guidance/edit-and-format-messages.html", + "views/how-to/edit-and-format-messages.html", navigation_links=using_notify_nav(), ) -@main.route("/using-notify/guidance/send-files-by-email") +@main.route("/using-notify/how-to/send-files-by-email") @user_is_logged_in def send_files_by_email(): return render_template( - "views/guidance/send-files-by-email.html", + "views/how-to/send-files-by-email.html", navigation_links=using_notify_nav(), ) diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 3b2cf84c1..d6f437309 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -34,7 +34,7 @@ def using_notify_nav(): {"name": "Trial mode", "link": "main.trial_mode_new"}, {"name": "Tracking usage", "link": "main.pricing"}, {"name": "Delivery Status", "link": "main.message_status"}, - {"name": "Guidance", "link": "main.guidance_index"}, + {"name": "How to", "link": "main.how_to"}, ] return nav_items diff --git a/app/navigation.py b/app/navigation.py index 424d03ae3..f20df4e5f 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -54,7 +54,7 @@ class HeaderNavigation(Navigation): "pricing", "trial_mode_new", "message_status", - "guidance_index", + "how_to", }, "accounts-or-dashboard": { "conversation", diff --git a/app/templates/views/features.html b/app/templates/views/features.html index 456f16815..0f7e7eb58 100644 --- a/app/templates/views/features.html +++ b/app/templates/views/features.html @@ -28,7 +28,7 @@

Personalized content

Notify makes it easy to send personalized messages from a single template.

-

See how to personalize your content.

+

See how to personalize your content.

Bulk sending

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.

diff --git a/app/templates/views/guidance/create-and-send-messages.html b/app/templates/views/how-to/create-and-send-messages.html similarity index 100% rename from app/templates/views/guidance/create-and-send-messages.html rename to app/templates/views/how-to/create-and-send-messages.html diff --git a/app/templates/views/guidance/edit-and-format-messages.html b/app/templates/views/how-to/edit-and-format-messages.html similarity index 100% rename from app/templates/views/guidance/edit-and-format-messages.html rename to app/templates/views/how-to/edit-and-format-messages.html diff --git a/app/templates/views/guidance/index.html b/app/templates/views/how-to/index.html similarity index 98% rename from app/templates/views/guidance/index.html rename to app/templates/views/how-to/index.html index 062bae555..4b66f2d03 100644 --- a/app/templates/views/guidance/index.html +++ b/app/templates/views/how-to/index.html @@ -4,11 +4,11 @@ {% from "components/service-link.html" import service_link %} {% block per_page_title %} - Guidance + How to {% endblock %} {% block content_column_content %} -

Guidance

+

How to

Notify allows you to easily create templates for messages for your recipients. You can customize messages to encourage your recipient to manage their benefits and increase follow-through.

diff --git a/app/templates/views/guidance/send-files-by-email.html b/app/templates/views/how-to/send-files-by-email.html similarity index 100% rename from app/templates/views/guidance/send-files-by-email.html rename to app/templates/views/how-to/send-files-by-email.html diff --git a/app/templates/views/support/index.html b/app/templates/views/support/index.html index 7dc86adeb..035575be1 100644 --- a/app/templates/views/support/index.html +++ b/app/templates/views/support/index.html @@ -13,7 +13,7 @@

Contact us

Notify is designed to be easy to use.

diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index eaa913425..51f1a5c83 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -94,7 +94,7 @@ def test_hiding_pages_from_search_engines( "message_status", "how_to_pay", "get_started", - "guidance_index", + "how_to", "create_and_send_messages", "edit_and_format_messages", "send_files_by_email", diff --git a/tests/app/test_navigation.py b/tests/app/test_navigation.py index ed4d66182..47f3f8ea2 100644 --- a/tests/app/test_navigation.py +++ b/tests/app/test_navigation.py @@ -111,7 +111,7 @@ EXCLUDED_ENDPOINTS = tuple( "get_started_old", "go_to_dashboard_after_tour", "guest_list", - "guidance_index", + "how_to", "history", "how_to_pay", "inbound_sms_admin", diff --git a/urls.js b/urls.js index 767c8f0fd..a7221a5d9 100644 --- a/urls.js +++ b/urls.js @@ -8,7 +8,7 @@ const sublinks = [ { label: 'Trial Mode', path: '/using-notify/trial-mode' }, { label: 'Pricing', path: '/using-notify/pricing' }, { label: 'Delivery Status', path: '/using-notify/delivery-status' }, - { label: 'Guidance', path: '/using-notify/guidance' }, + { label: 'How To', path: '/using-notify/how-to' }, { label: 'Support', path: '/support' }, { label: 'Best Practices', path: '/using-notify/best-practices' }, { label: 'Clear Goals', path: '/using-notify/best-practices/clear-goals' },