mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-28 22:30:44 -05:00
Merge pull request #2243 from GSA/2240-add-join-notify-to-the-main-nav
Add Join-Notify link to top nav
This commit is contained in:
@@ -114,6 +114,10 @@ def about_notify_nav():
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "Join Notify",
|
||||
"link": "main.join_notify",
|
||||
},
|
||||
{
|
||||
"name": "Contact",
|
||||
"link": "main.contact",
|
||||
|
||||
@@ -38,7 +38,11 @@
|
||||
{% set navigation = [] %}
|
||||
|
||||
{% if FEATURE_ABOUT_PAGE_ENABLED %}
|
||||
{% set navigation = navigation + [{"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path == '/about'}] %}
|
||||
{% set navigation = navigation + [
|
||||
{"href": url_for('main.about_notify'), "text": "About Notify", "active": request.path == '/about'},
|
||||
{"href": url_for('main.join_notify'), "text": "Join Notify", "active": request.path == '/join-notify'},
|
||||
{"href": url_for('main.contact'), "text": "Contact", "active": request.path == '/contact'}
|
||||
] %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user