sito per le richieste......
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

73 righe
3.7 KiB

4 anni fa
<div id="sidebar-wrapper">
<div class="navbar-collapse sidebar-wrapper__page" id="navbar-collapse-page-public">
4 anni fa
<ul class="nav navbar-nav page-nav">
<li class="dropdown">
<#assign reserved_menu = theme.getSetting("reserved_menu")>
<#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>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>
</#if>
</li>
</ul>
</div>
<div class="collapse navbar-collapse sidebar-wrapper__page" id="navbar-collapse-page">
<ul class="nav navbar-nav page-nav">
<li class="dropdown">
<#assign reserved_menu = theme.getSetting("reserved_menu")>
<#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>Area riservata</span><span
class="fa fa-caret-down page-arrow"></span></a>
<#assign m = reserved_menu?eval>
<#if request.getParameter("doAsUserId")?has_content>
<#assign qs = "?doAsUserId=" + request.getParameter("doAsUserId")?url('UTF-8')>
<#else>
<#assign qs = "">
</#if>
<ul class="dropdown-menu" role="menu">
<#list m?keys as k>
<#if k!="Monitoraggio">
<li class="sidebar-wrapper__page-title-item"><a href="${m[k]}${qs}">${k}</a></li>
<#else>
<#assign roleService = serviceLocator.findService('com.liferay.portal.service.RoleLocalService') />
<#assign roles = roleService.getUserRoles(user_id) >
<#if roles?has_content>
<#assign role_names = "">
<#list roles as role>
<#assign roleName = role.getName()>
<#if roleName?matches('.*monitoraggio') >
<li class="sidebar-wrapper__page-title-item"><a href="${m[k]}">${k}</a></li>
</#if>
</#list>
</#if>
</#if>
</#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>