<div id="sidebar-wrapper">

    <div class="navbar-collapse sidebar-wrapper__page visible-sm visible-xs" id="navbar-collapse-page-public">
        <ul class="nav navbar-nav page-nav">
            <li class="dropdown">
               
                <a href="#" class="dropdown-toggle sidebar-wrapper__page-title-list" data-toggle="dropdown"
                   role="button" aria-expanded="false"><span><i class="fa fa-file-o icon-title" aria-hidden="true"></i>Area pubblica</span><span
                        class="fa fa-caret-down page-arrow"></span></a>

                <ul class="dropdown-menu" role="menu">
                    <#list nav_items as nav_item>
                        <#assign title = nav_item.getName() >
                            <li class="sidebar-wrapper__page-title-item"><a href="${nav_item.getURL()}">${title}</a></li>
                    </#list>
                </ul>
             
            </li>
        </ul>
    </div>

    <div class="collapse navbar-collapse sidebar-wrapper__page" id="navbar-collapse-page">
        <ul class="nav navbar-nav page-nav nav-util">
            <li class="dropdown">
                <#assign reserved_menu = theme.getSetting("link_utili")>
                    <#if reserved_menu!= "">
                        <a href="#" class="dropdown-toggle sidebar-wrapper__page-title-list" data-toggle="dropdown"
                           role="button" aria-expanded="false"><span><i class="fa fa-file-o icon-title" aria-hidden="true"></i>Link Utili</span><span
                                class="fa fa-caret-down page-arrow"></span></a>
                        <#assign links = reserved_menu?eval>
                            <ul class="dropdown-menu" role="menu">
                                <#list links?keys as link>
                                    <li class="sidebar-wrapper__page-title-item"><a href="${links[link]}">${link}</a></li>
                                </#list>
                            </ul>
                    </#if>
            </li>
        </ul>
    </div>

    <div class="sidebar-wrapper__admin">
        <#if is_signed_in>
            <div class="title-controll">
                <div class="icon-title">
                    <span class="fa fa-cog icon-controll" aria-hidden="true"></span>Controlli
                </div>
                <span class="fa fa-caret-down page-arrow"></span>
            </div>
            <@liferay.dockbar />
        </#if>
    </div>
</div>