Freemarker Support für Event
git-svn-id: https://svn.libreccm.org/ccm/trunk@5948 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
cf40a144c6
commit
e2302425ec
|
|
@ -284,6 +284,28 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function hasStartDate item>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
<#function hasEndDate item>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
<#function hasStartTime item>
|
||||||
|
<#return (item["./startTime"]?size > 0 || item["./nav:attribute[@name='startTime']"]?size > 0)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
<#function hasEndTime item>
|
||||||
|
<#return (item["./endTime"]?size > 0 || item["./nav:attribute[@name='endTime']"]?size > 0)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
<#function hasStartDate item>
|
||||||
|
<#return (item["./startDate"]?size > 0 || item["./nav:attribute[@name='startDate']"]?size > 0)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
<#function hasEndDate item>
|
||||||
|
<#return (item["./endDate"]?size > 0 || item["./nav:attribute[@name='endDate']"]?size > 0)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
<#function getstartTimeHour item>
|
<#function getstartTimeHour item>
|
||||||
<#if (item["./startTime"]?size > 0)>
|
<#if (item["./startTime"]?size > 0)>
|
||||||
<#return item["./startTime/@hour"]>
|
<#return item["./startTime/@hour"]>
|
||||||
|
|
@ -354,11 +376,14 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
<#function getMapLink>
|
<#function getMapLink item>
|
||||||
<#return item["./mapLink"]>
|
<#return item["./mapLink"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function getEventDateAddendum item>
|
||||||
|
<#return item["./eventDate"]>
|
||||||
|
</#function>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue