Complete default individual list view in FreeMarker
This commit is contained in:
parent
b3ddf9e822
commit
037ff45736
9 changed files with 78 additions and 36 deletions
|
@ -16,6 +16,7 @@
|
|||
<ul>
|
||||
<#list individuals as individual>
|
||||
<li>
|
||||
<#-- Currently we just use the search view here; there's no custom list view defined. -->
|
||||
<#include "partials/class/view/search/${individual.searchView}">
|
||||
</li>
|
||||
</#list>
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<a href="${individual.profileUrl}">${individual.name}</a> ${individual.tagline}
|
||||
<#-- Default individual search view -->
|
||||
|
||||
<#import "/macros/list.ftl" as l>
|
||||
|
||||
<a href="${individual.profileUrl}">${individual.name}</a>
|
||||
<ul class="individualData">
|
||||
<@l.firstLastList>
|
||||
<li>${individual.tagline}</li>,
|
||||
<#list individual.links as link>
|
||||
<li><a class="externalLink" href="${link.url}">${link.anchor}</a></li>,
|
||||
</#list>
|
||||
</@l.firstLastList>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue