2010-05-11 20:37:48 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
2010-05-17 21:30:54 +00:00
|
|
|
<#-- List class groups, and classes within each group. -->
|
|
|
|
|
2011-01-16 23:14:16 +00:00
|
|
|
<#include "classgroups-checkForData.ftl">
|
|
|
|
|
|
|
|
<#if (!noData)>
|
2011-02-04 14:50:49 +00:00
|
|
|
<section class="siteMap" role="region">
|
2011-01-16 23:14:16 +00:00
|
|
|
<#list classGroups as classGroup>
|
|
|
|
<#-- Only render classgroups that have at least one class with individuals -->
|
|
|
|
<#if (classGroup.individualCount > 0)>
|
|
|
|
<h2>${classGroup.publicName}</h2>
|
2011-02-04 14:50:49 +00:00
|
|
|
<ul role="list">
|
2011-01-16 23:14:16 +00:00
|
|
|
<#list classGroup.classes as class>
|
|
|
|
<#-- Only render classes with individuals -->
|
|
|
|
<#if (class.individualCount > 0)>
|
2011-02-04 14:50:49 +00:00
|
|
|
<li role="listitem"><a href="${class.url}">${class.name}</a> (${class.individualCount})</li>
|
2011-01-16 23:14:16 +00:00
|
|
|
</#if>
|
|
|
|
</#list>
|
|
|
|
</ul>
|
|
|
|
</#if>
|
|
|
|
</#list>
|
2011-02-04 14:50:49 +00:00
|
|
|
</section>
|
2011-01-16 23:14:16 +00:00
|
|
|
<#else>
|
|
|
|
${noDataNotification}
|
|
|
|
</#if>
|