Freemarker support for notes

git-svn-id: https://svn.libreccm.org/ccm/trunk@5962 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2019-04-19 15:33:15 +00:00
parent 84833f5727
commit 33befeb632
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<#ftl ns_prefixes={
"bebop":"http://www.arsdigita.com/bebop/1.0",
"cms":"http://www.arsdigita.com/cms/1.0",
"nav":"http://ccm.redhat.com/navigation",
"ui": "http://www.arsdigita.com/ui/1.0"}
>
<#function getNotes item>
<#return item["./cms:item/ca_notes"]>
</#function>
<#function getContent note>
<#return note["./content"]>
</#function>