|
|
@ -1,43 +1,3 @@ |
|
|
|
<nav class="${nav_css_class} main-menu" id="navigation" role="navigation"> |
|
|
|
|
|
|
|
<ul aria-label="<@liferay.language key="site-pages" />" role="menubar"> |
|
|
|
|
|
|
|
<#list nav_items as nav_item> |
|
|
|
|
|
|
|
<#assign title = nav_item.getName() > |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#assign nav_item_attr_selected = "" /> |
|
|
|
|
|
|
|
<#assign nav_item_css_class = "" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#if nav_item.isSelected()> |
|
|
|
|
|
|
|
<#assign nav_item_attr_selected = "aria-selected='true'" /> |
|
|
|
|
|
|
|
<#assign nav_item_css_class = "selected" /> |
|
|
|
|
|
|
|
</#if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#if title == "Home"> |
|
|
|
|
|
|
|
<li class="hidden">home</li> |
|
|
|
|
|
|
|
<#else> |
|
|
|
|
|
|
|
<li ${nav_item_attr_selected} class="${nav_item_css_class}" id="layout_${nav_item.getLayoutId()}" |
|
|
|
|
|
|
|
role="presentation"> |
|
|
|
|
|
|
|
<a aria-labelledby="layout_${nav_item.getLayoutId()}" href="${nav_item.getURL()}" ${nav_item.getTarget()} role="menuitem"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#assign seq = title?split(" ") /> |
|
|
|
|
|
|
|
<#if seq?size gt 1 > |
|
|
|
|
|
|
|
<#assign seq_size = seq?size-1 /> |
|
|
|
|
|
|
|
<#assign title_next = ""> |
|
|
|
|
|
|
|
<#list seq[1..seq_size] as item > |
|
|
|
|
|
|
|
<#assign title_next = title_next + item > |
|
|
|
|
|
|
|
</#list> |
|
|
|
|
|
|
|
<#assign title = "<b>"+seq[0]+"</b>"+'<br class="visible-sm visible-xs"/><span class="title_down">'+title_next+'</span>'> |
|
|
|
|
|
|
|
<#else> |
|
|
|
|
|
|
|
<#assign title = "<b>"+title+"</b>"> |
|
|
|
|
|
|
|
</#if> |
|
|
|
|
|
|
|
<span>${title}</span> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</#if> |
|
|
|
|
|
|
|
</#list> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="notification-header"> |
|
|
|
<div class="notification-header"> |
|
|
|
<span class="notification-header__icon fa fa-bell-o"></span> |
|
|
|
<span class="notification-header__icon fa fa-bell-o"></span> |
|
|
|
<#assign liferay_portlet = PortalJspTagLibs["/WEB-INF/tld/liferay-portlet-ext.tld"] /> |
|
|
|
<#assign liferay_portlet = PortalJspTagLibs["/WEB-INF/tld/liferay-portlet-ext.tld"] /> |
|
|
|