You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/12/07 18:48:00 UTC

[jira] [Closed] (SIS-114) Sidebar on the left side always have the "home" menu item active

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

Martin Desruisseaux closed SIS-114.
-----------------------------------

> 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
>             Fix For: 1.0
>
>         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
(v8.20.10#820010)