mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-23 18:05:32 +00:00
- samples - fix "execute" javascript error - fix hidden exception when status template had errors - addition of 'roothome' script & template root object git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
27 lines
904 B
Plaintext
27 lines
904 B
Plaintext
<html>
|
|
<head>
|
|
<title>${folder.displayPath}/${folder.name}</title>
|
|
</head>
|
|
<body>
|
|
Folder: ${folder.displayPath}/${folder.name}
|
|
<br>
|
|
<table>
|
|
<#if folder.parent.parent?exists>
|
|
<tr>
|
|
<td><td><a href="${url.serviceContext}/sample/folder<@encodepath node=folder.parent/>">..</a>
|
|
</tr>
|
|
</#if>
|
|
<#list folder.children as child>
|
|
<tr>
|
|
<#if child.isContainer>
|
|
<td>><td><a href="${url.serviceContext}/sample/folder<@encodepath node=child/>">${child.name}</a>
|
|
<#else>
|
|
<td><td><a href="${url.serviceContext}/api/node/content/${child.nodeRef.storeRef.protocol}/${child.nodeRef.storeRef.identifier}/${child.nodeRef.id}/${child.name?url}">${child.name}</a>
|
|
</#if>
|
|
</tr>
|
|
</#list>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|
|
<#macro encodepath node><#if node.parent?exists><@encodepath node=node.parent/>/${node.name?url}</#if></#macro> |