mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Updates to My Tasks dashlet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -15,14 +15,15 @@
|
|||||||
<#--
|
<#--
|
||||||
Render a task
|
Render a task
|
||||||
-->
|
-->
|
||||||
|
<#macro dateFormat date>${date?datetime?string("yyyy-MM-dd HH:mm:ss 'GMT'Z '('zzz')'")!""}</#macro>
|
||||||
<#macro taskDetail task>
|
<#macro taskDetail task>
|
||||||
{
|
{
|
||||||
"id": "${task.id}",
|
"id": "${task.id}",
|
||||||
"description": "${(task.description!"")?j_string}",
|
"description": "${(task.description!"")?j_string}",
|
||||||
"dueDate": "<#if task.properties["bpm:dueDate"]?exists>${task.properties["bpm:dueDate"]?date!""}<#else>${future?date}</#if>",
|
"dueDate": "<#if task.properties["bpm:dueDate"]?exists><@dateFormat task.properties["bpm:dueDate"] /><#else><@dateFormat future /></#if>",
|
||||||
"status": "${task.properties["bpm:status"]}",
|
"status": "${task.properties["bpm:status"]}",
|
||||||
"priority": "${task.properties["bpm:priority"]}",
|
"priority": "${task.properties["bpm:priority"]}",
|
||||||
"startDate": "${task.startDate?date}",
|
"startDate": "<@dateFormat task.startDate />",
|
||||||
"type": "${task.type}",
|
"type": "${task.type}",
|
||||||
"completeness": "${task.properties["bpm:percentComplete"]}",
|
"completeness": "${task.properties["bpm:percentComplete"]}",
|
||||||
"resources":
|
"resources":
|
||||||
|
Reference in New Issue
Block a user