mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
. Fixed templates list in Preview screen to catch AccessDeniedException for Guest user access to templates folder git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2339 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
21 lines
948 B
Plaintext
21 lines
948 B
Plaintext
<#-- Table of docs in a specific folder, that have been created or modified in the last week -->
|
|
<h3>Documents created or modified in the last week</h3>
|
|
<table cellpadding=2>
|
|
<tr>
|
|
<td></td>
|
|
<td><b>Name</b></td>
|
|
<td><b>Created Date</b></td>
|
|
<td><b>Modified Date</b></td>
|
|
</tr>
|
|
<#list space.childrenByXPath[".//*[subtypeOf('cm:content')]"] as child>
|
|
<#if (dateCompare(child.properties["cm:modified"], date, 1000*60*60*24*7) == 1) || (dateCompare(child.properties["cm:created"], date, 1000*60*60*24*7) == 1)>
|
|
<tr>
|
|
<td><a href="/alfresco${child.url}" target="new"><img src="/alfresco${child.icon16}" border=0></a></td>
|
|
<td><a href="/alfresco${child.url}" target="new">${child.properties.name}</a></td>
|
|
<td>${child.properties["cm:created"]?datetime}</td>
|
|
<td>${child.properties["cm:modified"]?datetime}</td>
|
|
</tr>
|
|
</#if>
|
|
</#list>
|
|
</table>
|