From 1f6e2156f47d5e6d4ab5f15e8d33e9de90f5bdab Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 21 Oct 2021 12:38:23 -0700 Subject: [PATCH] Additional fixes for menu items related to news and press A few additional places where the news and press pages were not properly menu integrated. This fixes various inconsistencies and missing category and submenu markings in menus. --- www/conservancy/static/css/conservancy.css | 1 + www/conservancy/templates/base_press.html | 6 +++--- www/conservancy/templates/submenus/learn_partial.html | 2 +- www/conservancy/templates/submenus/news_partial.html | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index c8018418..b8abbdb5 100644 --- a/www/conservancy/static/css/conservancy.css +++ b/www/conservancy/static/css/conservancy.css @@ -384,6 +384,7 @@ body > header { #container #sidebar.VizioPressKit ul li.VizioPressKit, #container #sidebar.VizioPhotoAssets ul li.VizioPhotoAssets, #container #sidebar.VizioPress ul li.VizioPress, +#container #sidebar.IssuesInTheNews ul li.IssuesInTheNews, #container #sidebar.Glossary ul li.Glossary, #container #sidebar.CopyleftCompliance ul li.CopyleftCompliance, #container #sidebar.HelpComply ul li.HelpComply, diff --git a/www/conservancy/templates/base_press.html b/www/conservancy/templates/base_press.html index c38fcd38..0db97c59 100644 --- a/www/conservancy/templates/base_press.html +++ b/www/conservancy/templates/base_press.html @@ -1,6 +1,7 @@ {% extends "base_conservancy.html" %} {% load cache %} {% load humanize %} +{% block category %}News{% endblock %} {% block head %} @@ -16,9 +17,8 @@

Resources for Journalists

diff --git a/www/conservancy/templates/submenus/learn_partial.html b/www/conservancy/templates/submenus/learn_partial.html index 121951d6..14a95f5c 100644 --- a/www/conservancy/templates/submenus/learn_partial.html +++ b/www/conservancy/templates/submenus/learn_partial.html @@ -2,5 +2,5 @@
  • Glossary of Terms
  • Vizio Lawsuit
  • Q&A
  • -
  • In The News
  • +
  • Our Issues In The News
  • diff --git a/www/conservancy/templates/submenus/news_partial.html b/www/conservancy/templates/submenus/news_partial.html index 72f262dd..7bda2c5b 100644 --- a/www/conservancy/templates/submenus/news_partial.html +++ b/www/conservancy/templates/submenus/news_partial.html @@ -2,6 +2,6 @@
  • News Releases
  • Blog
  • Vizio Lawsuit In The News
  • -
  • Our Issues In The News
  • +
  • Our Issues In The News
  • Press