Freemarker support for PublicPersonalProfile

git-svn-id: https://svn.libreccm.org/ccm/trunk@5975 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2019-04-29 15:31:36 +00:00
parent 76dbf852ef
commit fdd5dfb226
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,30 @@
<#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 getProfileOwner item>
<#return item["./profileOwner"]>
</#function>
<#function getProfileOwnerSurname owner>
<#return owner["./surname"]>
</#function>
<#function getProfileOwnerGivenName owner>
<#return owner["./givenname"]>
</#function>
<#function getProfileOwnerTitlePre owner>
<#return owner["./titlePre"]>
</#function>
<#function getProfileOwnerTitlePost owner>
<#return owner["./titlePost"]>
</#function>
<#function getProfileOwnerContact owner>
<#return owner["./contact"]>
</#function>

View File

@ -1,4 +1,4 @@
7<#ftl ns_prefixes={ <#ftl ns_prefixes={
"bebop":"http://www.arsdigita.com/bebop/1.0", "bebop":"http://www.arsdigita.com/bebop/1.0",
"cms":"http://www.arsdigita.com/cms/1.0", "cms":"http://www.arsdigita.com/cms/1.0",
"nav":"http://ccm.redhat.com/navigation", "nav":"http://ccm.redhat.com/navigation",