Freemarker function for getting the object count from an object list
git-svn-id: https://svn.libreccm.org/ccm/trunk@6056 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
f9da0f8a80
commit
dc62372a6f
|
|
@ -25,6 +25,10 @@
|
||||||
</#if>
|
</#if>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function getObjectCount listId>
|
||||||
|
<#return model["/bebop:page/*[id='${listId}']/nav:ObjectList/nav:paginator/@objectCount"]@@text>
|
||||||
|
</#function>
|
||||||
|
|
||||||
<#function getItemLink item>
|
<#function getItemLink item>
|
||||||
<#return item["./nav:path"]>
|
<#return item["./nav:path"]>
|
||||||
</#function>
|
</#function>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue