Notify.gov is a text messaging service built by and for the government. We help agencies communicate more
diff --git a/app/templates/views/about/security.html b/app/templates/views/about/security.html
index 9ebc0420f..0a916035e 100644
--- a/app/templates/views/about/security.html
+++ b/app/templates/views/about/security.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% import "components/nav_breadcrumb.html" as breadcrumbs %}
{% set page_title = "Security" %}
@@ -7,7 +8,8 @@
{% endblock %}
{% block content_column_content %}
-
+{{ breadcrumbs.breadcrumb(page_title, "About", "main.about_notify") }}
+
Notify.gov is built for the needs of government agencies with fundamental system
diff --git a/app/templates/views/about/why-text-messaging.html b/app/templates/views/about/why-text-messaging.html
index 6aa0887cb..2b1982225 100644
--- a/app/templates/views/about/why-text-messaging.html
+++ b/app/templates/views/about/why-text-messaging.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% import "components/nav_breadcrumb.html" as breadcrumbs %}
+
{% set page_title = "Why text messaging" %}
{% block per_page_title %}
@@ -6,8 +8,7 @@
{% endblock %}
{% block content_column_content %}
-
+{{ breadcrumbs.breadcrumb(page_title, "About", "main.about_notify") }}
Learn how effective your texting program can be.
- When the Center on Budget and Policy Priorities studied WIC, they found key learnings about the
quantity of messages delivered, how people engage with messages, and how they take action.
@@ -78,7 +80,8 @@
- The Code for America’s Texting
+ The Code for America’s Texting
Playbook
reported specific learnings around appointment reminders, completing
document submission, and maintenance reminders.
diff --git a/app/templates/views/best-practices/best-practices.html b/app/templates/views/guides/best-practices.html
similarity index 78%
rename from app/templates/views/best-practices/best-practices.html
rename to app/templates/views/guides/best-practices.html
index 7711dea9b..4784f72c4 100644
--- a/app/templates/views/best-practices/best-practices.html
+++ b/app/templates/views/guides/best-practices.html
@@ -1,11 +1,12 @@
{% extends "base.html" %}
+{% set page_title = "Best Practices" %}
+
{% block per_page_title %}
-Best Practices
+{{page_title}}
{% endblock %}
{% block content_column_content %}
-
For texting the public Start with a singular purpose. Make explicit what you want to achieve.
Review your drafted hypothesis with your team to make sure everyone is aligned on your desired goals. A clear and
- concise hypothesis can help you decide how to write text message
+ concise hypothesis can help you decide how to write text message
content
that provokes action.
Help your audience anticipate and welcome your texts. To reinforce legitimacy, include these key messages in your outreach: If you're sending one-way notifications, phone carriers allow a single auto-response message that will be
generated if a recipient tries to text a response to your message. Use the auto-response to reaffirm your key
messages around legitimacy and communicate to recipients that texts are coming from an automated system. What to know as you plan translated texts. Understand what is required when texting the public.
There is no policy requirement for senders to communicate opt-out options, but including instructions in introductory and/or
+ href="../guides/establish-trust#as-people-receive-texts"> including instructions in introductory and/or
auto-response texts on how to opt out and opt back in are effective ways to establish trust with your
audience.
Help your audience know what to do with the information you send. For example, getting a person to update their mailing address: Evidence
+ Evidence
shows that employing
behavioral science is an effective way to increase the
likelihood of a recipient
@@ -100,7 +103,7 @@
internet services that belong to you.",
},
] %}
- {% with card_contents=card_contents, text_align='left' %}{% include "components/best-practices/cards.html" %}{%
+ {% with card_contents=card_contents, text_align='left' %}{% include "components/guides/cards.html" %}{%
endwith %}
{% endblock %}
diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py
index 27e7f074e..e32ca11ea 100644
--- a/tests/app/main/views/test_index.py
+++ b/tests/app/main/views/test_index.py
@@ -125,6 +125,7 @@ def test_static_pages(client_request, mock_get_organization_by_domain, view, moc
"write_for_action",
"multiple_languages",
"benchmark_performance",
+ "guidance_index"
]
return (
not current_app.config["FEATURE_BEST_PRACTICES_ENABLED"]
diff --git a/tests/end_to_end/test_best_practices_content_pages.py b/tests/end_to_end/test_best_practices_content_pages.py
index 031e4baef..5a75f9694 100644
--- a/tests/end_to_end/test_best_practices_content_pages.py
+++ b/tests/end_to_end/test_best_practices_content_pages.py
@@ -11,7 +11,7 @@ E2E_TEST_URI = os.getenv("NOTIFY_E2E_TEST_URI")
def test_best_practices_side_menu(authenticated_page):
page = authenticated_page
- page.goto(f"{E2E_TEST_URI}/guides/best-practices")
+ page.goto(f"{E2E_TEST_URI}")
page.wait_for_load_state("domcontentloaded")
check_axe_report(page)
@@ -58,7 +58,7 @@ def test_best_practices_side_menu(authenticated_page):
def test_breadcrumbs_best_practices(authenticated_page):
page = authenticated_page
- page.goto(f"{E2E_TEST_URI}/guides/best-practices")
+ page.goto(f"{E2E_TEST_URI}")
page.wait_for_load_state("domcontentloaded")
check_axe_report(page)
diff --git a/urls.js b/urls.js
index 2279b5a79..bd693cc90 100644
--- a/urls.js
+++ b/urls.js
@@ -14,23 +14,23 @@ const sublinks = [
{ label: 'Security', path: '/features/security' },
{ label: 'Support', path: '/support' },
{ label: 'Best Practices', path: '/guides/best-practices' },
- { label: 'Clear Goals', path: '/guides/best-practices/clear-goals' },
+ { label: 'Clear Goals', path: '/guides/clear-goals' },
{
label: 'Rules And Regulations',
- path: '/guides/best-practices/rules-and-regulations',
+ path: '/guides/rules-and-regulations',
},
- { label: 'Establish Trust', path: '/guides/best-practices/establish-trust' },
+ { label: 'Establish Trust', path: '/guides/establish-trust' },
{
label: 'Write For Action',
- path: '/guides/best-practices/write-for-action',
+ path: '/guides/write-for-action',
},
{
label: 'Multiple Languages',
- path: '/guides/best-practices/multiple-languages',
+ path: '/guides/multiple-languages',
},
{
label: 'Benchmark Performance',
- path: '/guides/best-practices/benchmark-performance',
+ path: '/guides/benchmark-performance',
},
// Add more links here as needed
];
{{page_title}}
{{page_title}}
diff --git a/app/templates/views/best-practices/benchmark-performance.html b/app/templates/views/guides/benchmark-performance.html
similarity index 93%
rename from app/templates/views/best-practices/benchmark-performance.html
rename to app/templates/views/guides/benchmark-performance.html
index 2661f6b00..5e24dc9cd 100644
--- a/app/templates/views/best-practices/benchmark-performance.html
+++ b/app/templates/views/guides/benchmark-performance.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% import "components/nav_breadcrumb.html" as breadcrumbs %}
{% set page_title = "Measuring performance with benchmarking" %}
@@ -7,7 +8,8 @@
{% endblock %}
{% block content_column_content %}
-{% with title=page_title %}{% include "components/best-practices/nav_breadcrumb.html" %}{% endwith %}
+{{ breadcrumbs.breadcrumb(page_title, "Guides", "main.best_practices") }}
+
{{page_title}}
What other texting studies have found
Best Practices
{{page_title}}
{{page_title}}
+
+
+
Prepare your team
{% set card_contents = [
@@ -187,7 +190,7 @@
pages or within case management notes.",
},
] %}
- {% with card_contents=card_contents %}{% include "components/best-practices/cards.html" %}{%
+ {% with card_contents=card_contents %}{% include "components/guides/cards.html" %}{%
endwith %}
{% endblock %}
diff --git a/app/templates/views/best-practices/multiple-languages.html b/app/templates/views/guides/multiple-languages.html
similarity index 87%
rename from app/templates/views/best-practices/multiple-languages.html
rename to app/templates/views/guides/multiple-languages.html
index 13c638d38..dd9c3727f 100644
--- a/app/templates/views/best-practices/multiple-languages.html
+++ b/app/templates/views/guides/multiple-languages.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% import "components/nav_breadcrumb.html" as breadcrumbs %}
{% set page_title = "Text in multiple languages" %}
@@ -7,7 +8,8 @@
{% endblock %}
{% block content_column_content %}
-{% with title=page_title %}{% include "components/best-practices/nav_breadcrumb.html" %}{% endwith %}
+{{ breadcrumbs.breadcrumb(page_title, "Guides", "main.best_practices") }}
+
{{page_title}}
{{page_title}}
Opting out
{{page_title}}
Build conditions for action
-
+
+
What provoking action looks like
-