Files
alfresco-community-repo/config/alfresco/templates/client/task_resource_panel.ftl
Kevin Roast 802a38fb73 Split of MyWebForms portlet into MyWebForms and MyWebFiles portlets
- Improvements from UI review from Linton
 - High and click action in MyWebFiles (as per UI review)
 - Lock icon for locked items
 - Hide Edit action if item is in workflow or user does not have access to the lock
Scrollbar CSS colours added to portlets
Added new portlet to portlet.xml defs and as a new dashlet JSP+config
Updates to MyTasks portlet

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-11 16:07:05 +00:00

21 lines
866 B
Plaintext

<#assign count=0>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<#assign resources=task.packageResources>
<#if resources?size != 0>
<#list resources as res>
<#assign count=count+1>
<tr class="taskResource${(count % 2 = 0)?string("Odd", "Even")}">
<td width="18"><a href="${url.context}${res.url}" target="new"><img src="${url.context}${res.icon16}" border=0></a></td>
<td>
<#if res.isDocument>
<a class="resourceLink" onclick="event.cancelBubble=true;" href="${url.context}${res.url}" target="new">${res.name}</a>
<#else>
<span class="resourceLink">${res.name}</span>
</#if>
</td>
</tr>
</#list>
<#else>
<tr><td><span class="resourceLink">No task resources</span></td></tr>
</#if>
</table>