Commit 0949c6a7 authored by Ad Schellevis's avatar Ad Schellevis

style fix active menu item

parent a205dc2d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<nav class="page-side-nav" role="navigation"> <nav class="page-side-nav" role="navigation">
<div class="list-group" id="mainmenu"> <div class="list-group" id="mainmenu">
{% for topMenuItem in menuSystem %} {% for topMenuItem in menuSystem %}
<a href="#{{ topMenuItem.Id }}" class="list-group-item " data-toggle="collapse" data-parent="#mainmenu"><span class="{{ topMenuItem.CssClass }} __iconspacer"></span>{{ topMenuItem.VisibleName }} </a> <a href="#{{ topMenuItem.Id }}" class="list-group-item {% if topMenuItem.Selected %} active-menu-title {% endif %}" data-toggle="collapse" data-parent="#mainmenu"><span class="{{ topMenuItem.CssClass }} __iconspacer"></span>{{ topMenuItem.VisibleName }} </a>
<div class="collapse {% if topMenuItem.Selected %} active-menu in {% endif %}" id="{{ topMenuItem.Id }}"> <div class="collapse {% if topMenuItem.Selected %} active-menu in {% endif %}" id="{{ topMenuItem.Id }}">
{% for subMenuItem in topMenuItem.Children %} {% for subMenuItem in topMenuItem.Children %}
{% if acl.isPageAccessible(session.get('Username'),subMenuItem.Url) %} {% if acl.isPageAccessible(session.get('Username'),subMenuItem.Url) %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment