NIHVIVO-2734 Don't show property group menu if there are no property group menu items

This commit is contained in:
ryounes 2011-06-28 20:19:07 +00:00
parent 030b454a2b
commit 9479a220f5

View file

@ -8,6 +8,7 @@
<#assign groups = propertyGroups.all> <#assign groups = propertyGroups.all>
<#if groups?has_content> <#if groups?has_content>
<#if (groups?size > 1) || (groups?first).getName(nameForOtherGroup)?has_content>
<nav id="property-group-menu" role="navigation"> <nav id="property-group-menu" role="navigation">
<ul role="list"> <ul role="list">
<#list groups as group> <#list groups as group>
@ -21,4 +22,5 @@
</ul> </ul>
</nav> </nav>
</#if> </#if>
</#if>
</#if> </#if>