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
16 lines
637 B
Plaintext
16 lines
637 B
Plaintext
<#-- List of docs in the Home Space for current user -->
|
|
<#-- If the doc mimetype is plain/text then the content is shown inline -->
|
|
<#-- If the doc mimetype is JPEG then the image is shown inline as a small thumbnail image -->
|
|
<table>
|
|
<#list userhome.children as child>
|
|
<#if child.isDocument>
|
|
<tr><td>${child.properties.name}</td></tr>
|
|
<#if child.mimetype = "text/plain">
|
|
<tr><td style='padding-left:16px'>${child.content}</td></tr>
|
|
<#elseif child.mimetype = "image/jpeg">
|
|
<tr><td style='padding-left:16px'><img width=100 height=65 src="/alfresco${child.url}"><td></tr>
|
|
</#if>
|
|
</#if>
|
|
</#list>
|
|
</table>
|