Move Terms of Use controller & template into FreeMarker.
This commit is contained in:
parent
8a83103367
commit
fc8c9876f0
13 changed files with 109 additions and 32 deletions
16
webapp/web/templates/freemarker/body/classGroups.ftl
Normal file
16
webapp/web/templates/freemarker/body/classGroups.ftl
Normal file
|
@ -0,0 +1,16 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- List class groups, and classes within each group. -->
|
||||
|
||||
<#if message??>
|
||||
<p>${message}</p>
|
||||
<#else>
|
||||
<#list classGroups as classGroup>
|
||||
<h2>${classGroup.publicName}</h2>
|
||||
<ul>
|
||||
<#list classGroup.classes as class>
|
||||
<li><a href="${class.url}">${class.name}</a> (${class.entityCount})</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#list>
|
||||
</#if>
|
Loading…
Add table
Add a link
Reference in a new issue