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>
|
||||||
|
|
||||||
<#function getFileDescription file>
|
<#function getFileDescription file>
|
||||||
<#return file["./description"]>
|
<#return file["./description"].@@text>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getFileUrl file>
|
<#function getFileUrl file>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
>
|
>
|
||||||
|
|
||||||
<#function getNotes item>
|
<#function getNotes item>
|
||||||
<#return item["./cms:item/ca_notes"]>
|
<#return item["./ca_notes"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getContent note>
|
<#function getContent note>
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function isTabSelected tab>
|
<#function isTabSelected tab>
|
||||||
<#return tab["./@selected"]>
|
<#return (tab["./@selected"] == "true")>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getTabLink tab>
|
<#function getTabLink tab>
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getSponsors item>
|
<#function getSponsors item>
|
||||||
<#return item["./sponsors"]>
|
<#return item[".//sponsors/sponsor"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getSponsorName sponsor>
|
<#function getSponsorName sponsor>
|
||||||
|
|
@ -68,19 +68,19 @@
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getFunding item>
|
<#function getFunding item>
|
||||||
<#return item["./funding"]>
|
<#return item[".//funding"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function hasFundingVolume item>
|
<#function hasFundingVolume item>
|
||||||
<#return (item["./fundingVolume"]?size > 0)>
|
<#return (item[".//fundingVolume"]?size > 0)>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getFundingVolume item>
|
<#function getFundingVolume item>
|
||||||
<#return item["./fundingVolume"]>
|
<#return item[".//fundingVolume"][1].@@text>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getMembers item>
|
<#function getMembers item>
|
||||||
<#return item["./members"]>
|
<#return item[".//members/member"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getMemberRole member>
|
<#function getMemberRole member>
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getInvolvedOrganizations item>
|
<#function getInvolvedOrganizations item>
|
||||||
<#return item["./involvedOrganizations"]>
|
<#return item[".//involvedOrganizations/organization"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getInvolvedOrganizationName orga>
|
<#function getInvolvedOrganizationName orga>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue