sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SIS-114) Sidebar on the left side always have the "home" menu item active
Date Mon, 23 Apr 2018 07:47:00 GMT

     [ https://issues.apache.org/jira/browse/SIS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Desruisseaux reassigned SIS-114:
---------------------------------------

    Assignee: Martin Desruisseaux

> Sidebar on the left side always have the "home" menu item active
> ----------------------------------------------------------------
>
>                 Key: SIS-114
>                 URL: https://issues.apache.org/jira/browse/SIS-114
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Web site
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>         Attachments: SIS-114.patch
>
>
> 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:
> {code:html}
>           <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...
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message