|
|
|
@ -1,35 +1,33 @@
|
|
|
|
|
<nav class="${nav_css_class} main-menu" id="navigation" role="navigation"> |
|
|
|
|
<ul class="hidden-xs hidden-sm" aria-label="<@liferay.language key=" site-pages |
|
|
|
|
" />" role="menubar"> |
|
|
|
|
<ul class="hidden-xs hidden-sm" 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> |
|
|
|
|
|
|
|
|
|
<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"> |
|
|
|
|
<a aria-labelledby="layout_${nav_item.getLayoutId()}" href="${nav_item.getURL()}" |
|
|
|
|
${nav_item.getTarget()} role="menuitem"> |
|
|
|
|
<span>${title}</span> |
|
|
|
|
</a> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
</#list> |
|
|
|
|
</ul> |
|
|
|
|
</nav> |
|
|
|
|
|
|
|
|
|
<h2 class="page-title"> |
|
|
|
|
<a href="${site_default_url}"> |
|
|
|
|
<#if propsUtil.get("mwg.test.display")?has_content > |
|
|
|
|
<#assign test_display = propsUtil.get("mwg.test.display") /> |
|
|
|
|
<h4 style="color:white">${test_display}</h4> |
|
|
|
|
<#else> |
|
|
|
|
<img class="img-site" alt="${logo_description}" src="${images_folder}/etoscana-white-text.png"/> |
|
|
|
|
</#if> |
|
|
|
|
</a> |
|
|
|
|
</h2> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="subheader-right"> |
|
|
|
|
<#if user_name != "" > |
|
|
|
|
<div class="name-user"> |
|
|
|
|