Freemarker function for generating the edit link for an item
git-svn-id: https://svn.libreccm.org/ccm/trunk@6029 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b5a0bb8d58
commit
396788714c
|
|
@ -105,3 +105,11 @@
|
||||||
<#function generateContentItemLink oid>
|
<#function generateContentItemLink oid>
|
||||||
<#return "${contextPrefix}/redirect/?oid=${oid}">
|
<#return "${contextPrefix}/redirect/?oid=${oid}">
|
||||||
</#function>
|
</#function>
|
||||||
|
|
||||||
|
<#function getEditLink item>
|
||||||
|
<#if (item["./editLink"]?size > 0)>
|
||||||
|
<#return "${contentTextPrefix}/ccm" + item["./editLink"]>
|
||||||
|
<#else>
|
||||||
|
<#return "">
|
||||||
|
</#if>
|
||||||
|
</#function>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue