Files
alfresco-community-repo/config/alfresco/templates/my_docs.ftl
Kevin Roast 608f6d0e44 . My Checked Out Documents - freemarker based dashlet (replaces the existing mockup dashlet)
- list of the documents checked out to the current user
. My Images - freemarker based dashlet
 - thumbnail based list of the images in the current user home space
. Improvements to My Documents freemarker based dashlet
 - improved UI look and feel, added more information columns
. Added some more/improved example templates

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-30 17:48:42 +00:00

25 lines
1.0 KiB
Plaintext

<#-- Table of the documents in my Home Space -->
<#-- Shows the Icon and link to the content for the doc, also the size in KB and lock status -->
<#assign rowcount=0>
<table>
<tr style='background-color: #C6D8EB'>
<td></td>
<td><b>Name</b></td>
<td><b>Size</b></td>
<td><b>Modified Date</b></td>
<td><b>Locked By</b></td>
</tr>
<#list userhome.children as child>
<#if child.isDocument>
<#if rowcount % 2 = 0><tr><#else><tr style='background-color: #DEE5EC'></#if>
<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.size / 1000)?string("0.##")} KB</td>
<td>${child.properties.modified?datetime}</td>
<td>&nbsp;<#if child.isLocked>${child.properties.lockOwner}</#if></td>
</tr>
<#assign rowcount=rowcount+1>
</#if>
</#list>
</table>