From 09a4b021c1f59a67b4d5c308986104784da5c96d 2021-10-21 15:39:47 From: Bradley M. Kuhn Date: 2021-10-21 15:39:47 Subject: [PATCH] Repair menu highlighting, both for main menu and submenus During the recent improvements made on the website, the menus and submenu highlighting for selected menus fell into disarray. Correction requires changes to the CSS and templates both, because Django doesn't really have a convenient way to set variables in templates to use to solve this. There are still a few submenu items highlighting not working even after this commit. More work needs to be done. --- diff --git a/www/conservancy/static/activities/index.html b/www/conservancy/static/activities/index.html index 5842181b10e151f4066f5dacc869a4818a605890..0cc0eb3dc0b62f3c72ba81f98557c6319885eae3 100644 --- a/www/conservancy/static/activities/index.html +++ b/www/conservancy/static/activities/index.html @@ -1,6 +1,7 @@ {% extends "base_conservancy.html" %} {% load cache %} {% load humanize %} +{% block category %}WhatWeDo{% endblock %} {% block head %} @@ -10,17 +11,21 @@ {% block outercontent %}
-