Files @ 09a4b021c1f5
Branch filter:

Location: website/www/conservancy/templates/base_projects.html

Bradley M. Kuhn
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.
{% extends "base_conservancy.html" %}
{% block outercontent %}
    <div id="container">
         <div id="sidebar" class="{% block submenuselection %}{% endblock %}">
            <h2>What We Do</h2>
            {% include 'submenus/what_we_do_partial.html' %}
            <h2>{% block category %}Projects{% endblock %} &amp; Services</h2>
            <ul>
            <li class="Current"><a href="/projects/current/">Current Member Projects</a></li>
            <li class="Applying"><a href="/projects/apply/">Applying</a></li>
            <li class="Services"><a href="/projects/services/">Member Project Services</a></li>
            <li class="Policies"><a href="/projects/policies/">Member Project Policies</a></li>
            </ul>
         </div>
               <div id="mainContent">{% block content %}{% endblock %}
               </div>
   </div>
{% endblock %}