mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
first round of about content
This commit is contained in:
@@ -10,6 +10,7 @@ from app.formatters import apply_html_class, convert_markdown_template
|
||||
from app.main import main
|
||||
from app.main.views.pricing import CURRENT_SMS_RATE
|
||||
from app.main.views.sub_navigation_dictionaries import (
|
||||
about_notify_nav,
|
||||
best_practices_nav,
|
||||
features_nav,
|
||||
using_notify_nav,
|
||||
@@ -268,6 +269,15 @@ def benchmark_performance():
|
||||
)
|
||||
|
||||
|
||||
@main.route("/about/about")
|
||||
@user_is_logged_in
|
||||
def about_notify():
|
||||
return render_template(
|
||||
"views/about/about.html",
|
||||
navigation_links=about_notify_nav(),
|
||||
)
|
||||
|
||||
|
||||
@main.route("/using-notify/guidance")
|
||||
@user_is_logged_in
|
||||
def guidance_index():
|
||||
|
||||
@@ -101,3 +101,12 @@ def best_practices_nav():
|
||||
"link": "main.benchmark_performance",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
def about_notify_nav():
|
||||
return [
|
||||
{
|
||||
"name": "About notify",
|
||||
"link": "main.about_notify",
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user