Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-114

Sidebar on the left side always have the "home" menu item active

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • Web site
    • None

    Description

      The http://sis.apache.org web site has a sidebar menu on the left side, but this menu has only the "home" item activated no matter which page is show.

      Looking to the templates/skeleton.html file, we can see the following HTML code:

                <div class="well sidebar-nav">
                  <ul class="nav nav-list">
                    <li class="nav-header">Apache SIS</li>
                    <li class="active"><a href="index.html">Home</a></li>
                    <li><a href="mailinglists.html">Mailing Lists</a></li>
                    <li><a href="license.html">Project License</a></li>
                    ...etc...
      

      As we can see in the above HTML, the "active" style is unconditionally applied to the Home item. We need to investigate how to change the item on which the "active" style is applied depending on the viewed page.

      Attachments

        1. SIS-114.patch
          1 kB
          Bruno P. Kinoshita

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: