content updates

This commit is contained in:
Beverly Nguyen
2025-03-13 15:43:21 -07:00
parent ff65471084
commit 558753037f
12 changed files with 96 additions and 72 deletions

View File

@@ -258,11 +258,17 @@ def why_text_messaging():
)
@main.route("/join-notify")
def join_notify():
@main.route("/notify-service-ending")
@user_is_logged_in
def notify_service_ending():
user_is_authenticated = current_user.is_authenticated
user_is_platform_admin = getattr(current_user, "platform_admin", False)
navigation_links = about_notify_nav() if not (user_is_authenticated or user_is_platform_admin) else None
return render_template(
"views/join-notify.html",
navigation_links=about_notify_nav(),
"views/notify-service-ending.html",
navigation_links = navigation_links
)

View File

@@ -56,10 +56,6 @@ def about_notify_nav():
},
],
},
{
"name": "Join Notify",
"link": "main.join_notify",
},
{
"name": "Contact us",
"link": "main.contact",