<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <#-- Macros used to build the statistical information on the home page --> <#-- Get the classgroups so they can be used to qualify searches --> <#macro allClassGroupNames classGroups> <#list classGroups as group> <#-- Only display populated class groups --> <#if (group.individualCount > 0)>
  • ${group.displayName?capitalize}
  • <#-- builds the "stats" section of the home page, i.e., class group counts --> <#macro allClassGroups classGroups> <#-- Loop through classGroups first so we can account for situations when all class groups are empty --> <#assign selected = 'class="selected" ' /> <#assign classGroupList>

    ${i18n().statistics}

    <#-- Display the class group browse only if we have at least one populated class group --> <#if firstPopulatedClassGroup??> ${classGroupList} <#else>

    ${i18n().no_content_create_groups_classes}

    <#if user.loggedIn> <#if user.hasSiteAdminAccess>

    ${i18n().you_can} ${i18n().add_content_manage_site}${i18n().from_site_admin_page}

    <#else>

    ${i18n().please} ${i18n().log_in} ${i18n().to_manage_content.}