diff --git a/webapp/web/templates/freemarker/body/partials/browse-classgroups.ftl b/webapp/web/templates/freemarker/body/partials/browse-classgroups.ftl new file mode 100644 index 000000000..d75ee72ef --- /dev/null +++ b/webapp/web/templates/freemarker/body/partials/browse-classgroups.ftl @@ -0,0 +1,63 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- Browse classgroups on the home page. Could potentially become a widget --> + +<@allClassGroups /> + +<#macro allClassGroups> +
+

Browse

+ + + + <#-- If requesting the home page without any additional URL parameters, select the first populated class group--> + <#assign defaultSelectedClassGroup = firstPopulatedClassGroup /> + + +
+ + +<#macro classesInClassgroup classes=classes classGroup=classGroup> + <#list classes as class> + <#if (class.individualCount > 0)> +
  • ${class.name} (${class.individualCount})
  • + + + \ No newline at end of file