Bugfixes for Freemarker functions
git-svn-id: https://svn.libreccm.org/ccm/trunk@6082 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
bb12bfa682
commit
ab8ed2e2e4
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<#function getContactEntry item keyId>
|
||||
<#return item["./contactentries[keyId=${keyId}]"]>
|
||||
<#/function>
|
||||
</#function>
|
||||
|
||||
<#function getContactEntryLabel entry>
|
||||
<#return item["./key"]>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getHomepageLink item contactType="commonContact" entry="homepage">
|
||||
<#return item["./contacts/contact[./@contactType='${contactType}']/contactentries[./keyId='${entry}]/value'"]>
|
||||
<#return item["./contacts/contact[./@contactType='${contactType}']/contactentries[./keyId='${entry}']/value"]>
|
||||
</#function>
|
||||
|
||||
<#function getContactEntries item contactType="commonContact">
|
||||
|
|
@ -30,5 +30,5 @@
|
|||
</#function>
|
||||
|
||||
<#function getAddress item contactType="commonContact">
|
||||
<#return item["./contacts/contact[@contactType='${contactType}']/address]
|
||||
<#return item["./contacts/contact[@contactType='${contactType}']/address"]>
|
||||
</#function>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getDepartmentHeads data>
|
||||
<#return data["./heads"]>
|
||||
<#return data["./heads/head"]>
|
||||
</#function>
|
||||
|
||||
<#function getDepartmentHeadId head>
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getDepartmentViceHeads data>
|
||||
<#return data["./heads"]>
|
||||
<#return data["./viceheads/vicehead"]>
|
||||
</#function>
|
||||
|
||||
<#function getDepartmentViceHeadId head>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getSecretariats data>
|
||||
<#return data["./heads"]>
|
||||
<#return data["./secretariats/secretariat"]>
|
||||
</#function>
|
||||
|
||||
<#function getSecretariatsId sec>
|
||||
|
|
|
|||
Loading…
Reference in New Issue