Bugfixes for Freemarker functions
git-svn-id: https://svn.libreccm.org/ccm/trunk@6094 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
6b6138ab07
commit
721117a2cf
|
|
@ -52,7 +52,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getFileDescription file>
|
||||
<#return file["./description"]>
|
||||
<#return file["./description"].@@text>
|
||||
</#function>
|
||||
|
||||
<#function getFileUrl file>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
>
|
||||
|
||||
<#function getNotes item>
|
||||
<#return item["./cms:item/ca_notes"]>
|
||||
<#return item["./ca_notes"]>
|
||||
</#function>
|
||||
|
||||
<#function getContent note>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</#function>
|
||||
|
||||
<#function isTabSelected tab>
|
||||
<#return tab["./@selected"]>
|
||||
<#return (tab["./@selected"] == "true")>
|
||||
</#function>
|
||||
|
||||
<#function getTabLink tab>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getSponsors item>
|
||||
<#return item["./sponsors"]>
|
||||
<#return item[".//sponsors/sponsor"]>
|
||||
</#function>
|
||||
|
||||
<#function getSponsorName sponsor>
|
||||
|
|
@ -68,19 +68,19 @@
|
|||
</#function>
|
||||
|
||||
<#function getFunding item>
|
||||
<#return item["./funding"]>
|
||||
<#return item[".//funding"]>
|
||||
</#function>
|
||||
|
||||
<#function hasFundingVolume item>
|
||||
<#return (item["./fundingVolume"]?size > 0)>
|
||||
<#return (item[".//fundingVolume"]?size > 0)>
|
||||
</#function>
|
||||
|
||||
<#function getFundingVolume item>
|
||||
<#return item["./fundingVolume"]>
|
||||
<#return item[".//fundingVolume"][1].@@text>
|
||||
</#function>
|
||||
|
||||
<#function getMembers item>
|
||||
<#return item["./members"]>
|
||||
<#return item[".//members/member"]>
|
||||
</#function>
|
||||
|
||||
<#function getMemberRole member>
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
</#function>
|
||||
|
||||
<#function getInvolvedOrganizations item>
|
||||
<#return item["./involvedOrganizations"]>
|
||||
<#return item[".//involvedOrganizations/organization"]>
|
||||
</#function>
|
||||
|
||||
<#function getInvolvedOrganizationName orga>
|
||||
|
|
|
|||
Loading…
Reference in New Issue