mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 10:09:49 -04:00
content updates
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -56,10 +56,6 @@ def about_notify_nav():
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "Join Notify",
|
||||
"link": "main.join_notify",
|
||||
},
|
||||
{
|
||||
"name": "Contact us",
|
||||
"link": "main.contact",
|
||||
|
||||
Reference in New Issue
Block a user