Skip to content

Commit

Permalink
Merge pull request #2243 from GSA/2240-add-join-notify-to-the-main-nav
Browse files Browse the repository at this point in the history
Add Join-Notify link to top nav
  • Loading branch information
heyitsmebev authored Jan 3, 2025
2 parents cbb2ecd + a1c76bc commit 41ead43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/main/views/sub_navigation_dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ def about_notify_nav():
},
],
},
{
"name": "Join Notify",
"link": "main.join_notify",
},
{
"name": "Contact",
"link": "main.contact",
Expand Down
6 changes: 5 additions & 1 deletion app/templates/components/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down

0 comments on commit 41ead43

Please sign in to comment.