sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <>
Subject [jira] [Commented] (SIS-114) Sidebar on the left side always have the "home" menu item active
Date Sun, 22 Apr 2018 03:12:00 GMT


Bruno P. Kinoshita commented on SIS-114:

Forgot to record my screen while testing it, and stopped daemon already. But it should be
easy for others to confirm it's working by either building locally, or committing and then

> Sidebar on the left side always have the "home" menu item active
> ----------------------------------------------------------------
>                 Key: SIS-114
>                 URL:
>             Project: Spatial Information Systems
>          Issue Type: Bug
>          Components: Web site
>            Reporter: Martin Desruisseaux
>            Priority: Minor
>         Attachments: SIS-114.patch
> The 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

View raw message