Bugfixes for Freemarker function library for object lists
git-svn-id: https://svn.libreccm.org/ccm/trunk@6272 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
7e3996e18e
commit
bc4cd15da3
|
|
@ -92,7 +92,7 @@
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getItemTitle item>
|
<#function getItemTitle item>
|
||||||
<#return item["/nav:attribute[@name='title']"]>
|
<#return item["./nav:attribute[@name='title']"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function getItemLink item>
|
<#function getItemLink item>
|
||||||
|
|
@ -103,12 +103,20 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function hasItemLead item>
|
||||||
|
<#return (item["./nav:attribute[@name='lead']"]?size > 0)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
<#function getItemLead item>
|
<#function getItemLead item>
|
||||||
<#return item["./nav:attribute[@name='lead']"]>
|
<#return item["./nav:attribute[@name='lead']"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function hasItemProperty item property>
|
||||||
|
<#return (item["./nav:attribute[@name='${property}']"]?size > 0)>
|
||||||
|
</#function>
|
||||||
|
|
||||||
<#function getItemProperty item property>
|
<#function getItemProperty item property>
|
||||||
<#return item["./nav:atttribute[@name='${property}']"]>
|
<#return item["./nav:attribute[@name='${property}']"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
<#function hasImage item>
|
<#function hasImage item>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue