mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
fixed testing
This commit is contained in:
@@ -24,7 +24,9 @@ from app.main.views.sub_navigation_dictionaries import (
|
||||
from app.utils.user import user_is_logged_in
|
||||
from notifications_utils.url_safe_token import generate_token
|
||||
|
||||
feature_guidance_enabled = os.getenv('FEATURE_GUIDANCE_ENABLED', 'false').lower() == 'true'
|
||||
feature_guidance_enabled = (
|
||||
os.getenv("FEATURE_GUIDANCE_ENABLED", "false").lower() == "true"
|
||||
)
|
||||
|
||||
|
||||
# Hook to check for guidance routes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% set page_title = "Benchmark performance" %}
|
||||
{% set page_title = "Measuring performance with benchmarking" %}
|
||||
|
||||
{% block per_page_title %}
|
||||
{{page_title}}
|
||||
@@ -9,7 +9,7 @@
|
||||
{% block content_column_content %}
|
||||
{% with title=page_title %}{% include "components/guidance/nav_breadcrumb.html" %}{% endwith %}
|
||||
<section class="usa-prose">
|
||||
<h1>Measuring performance with benchmarking</h1>
|
||||
<h1>{{page_title}}</h1>
|
||||
<p class="font-sans-lg text-base">Learn how effective your texting program can be.</p>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% set page_title = "Clear goals" %}
|
||||
{% set page_title = "Establish clear goals" %}
|
||||
|
||||
{% block per_page_title %}
|
||||
{{page_title}}
|
||||
@@ -9,7 +9,7 @@
|
||||
{% block content_column_content %}
|
||||
{% with title=page_title %}{% include "components/guidance/nav_breadcrumb.html" %}{% endwith %}
|
||||
<section class="usa-prose">
|
||||
<h1>Establish clear goals</h1>
|
||||
<h1>{{page_title}}</h1>
|
||||
<p class="font-sans-lg text-base">Start with a singular purpose. Make explicit what you want to achieve.</p>
|
||||
<p>Text messaging should be one part of how you communicate with the people you serve, and it is best used to provoke
|
||||
action or influence behavior. Therefore, when starting to plan your texting campaign, it’s important to start with
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{% block content_column_content %}
|
||||
{% with title=page_title %}{% include "components/guidance/nav_breadcrumb.html" %}{% endwith %}
|
||||
<section class="usa-prose">
|
||||
<h1>Establish Trust</h1>
|
||||
<h1>{{page_title}}</h1>
|
||||
<p class="font-sans-lg text-base">Help your audience anticipate and welcome your texts.</p>
|
||||
<p>
|
||||
People are wary of texts they’re not expecting to receive. Before you send your first text, consider how you will
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% set page_title = "Multiple languages" %}
|
||||
{% set page_title = "Text in multiple languages" %}
|
||||
|
||||
{% block per_page_title %}
|
||||
{{page_title}}
|
||||
@@ -9,7 +9,7 @@
|
||||
{% block content_column_content %}
|
||||
{% with title=page_title %}{% include "components/guidance/nav_breadcrumb.html" %}{% endwith %}
|
||||
<section class="usa-prose">
|
||||
<h1>Text in multiple languages</h1>
|
||||
<h1>{{page_title}}</h1>
|
||||
<p class="font-sans-lg text-base"> What to know as you plan translated texts.</p>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{% block content_column_content %}
|
||||
{% with title=page_title %}{% include "components/guidance/nav_breadcrumb.html" %}{% endwith %}
|
||||
<section class="usa-prose">
|
||||
<h1>Follow rules & regulations</h1>
|
||||
<h1>{{page_title}}</h1>
|
||||
<p class="font-sans-lg text-base">Understand what is required when texting the public.</p>
|
||||
<h2>What to know about consent and opting out</h2>
|
||||
<p>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% from "components/guidance/circle_number.html" import circle_number %}
|
||||
|
||||
{% set page_title = "Write for action" %}
|
||||
{% set page_title = "Write texts that provoke action" %}
|
||||
|
||||
{% block per_page_title %}
|
||||
{{page_title}}
|
||||
@@ -10,7 +10,7 @@
|
||||
{% block content_column_content %}
|
||||
{% with title=page_title %}{% include "components/guidance/nav_breadcrumb.html" %}{% endwith %}
|
||||
<section class="usa-prose">
|
||||
<h1>Write texts that provoke action</h1>
|
||||
<h1>{{page_title}}</h1>
|
||||
<p class="font-sans-lg text-base"> Help your audience know what to do with the information you send.</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user