Skip to content

Commit 4c45866

Browse files
committed
Set mammograms/ and participants/ active nav component
These url namespaces currently have 'Home' active in the nav when navigating to their pages. Set it to 'Screening' instead.
1 parent 5e6a9a1 commit 4c45866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manage_breast_screening/core/context_processors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def nav_active(request):
2-
if request.path.startswith("/clinics/"):
2+
if request.path.startswith(("/clinics/", "/mammograms/", "/participants/")):
33
active = "clinics"
44
else:
55
active = "home"

0 commit comments

Comments
 (0)