Author: mfang
Date: 2009-06-03 08:35:27 +0200 (Wed, 03 Jun 2009)
New Revision: 35596
Modified:
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist.jsp
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist_table.jspf
Log:
CMSC-1006 Create a 'pages' tag for using inside the Editors and use it by
default for paging
Modified:
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist.jsp
===================================================================
---
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist.jsp
2009-06-03 06:15:37 UTC (rev 35595)
+++
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist.jsp
2009-06-03 06:35:27 UTC (rev 35596)
@@ -47,9 +47,6 @@
<mm:import externid="direction" jspvar="direction">down</mm:import>
<mm:import externid="sortBy" jspvar="sortBy">status</mm:import>
-<c:set var="direction">
- <c:out value="${direction =='up'?'down':'up' }"/>
-</c:set>
<mm:cloudinfo type="user" id="cloudusername" write="false" />
<mm:listnodescontainer type="user">
Modified:
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist_table.jspf
===================================================================
---
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist_table.jspf
2009-06-03 06:15:37 UTC (rev 35595)
+++
CMSContainer/trunk/CMSContainer_Modules/tasks/src/webapp/editors/taskmanagement/tasklist_table.jspf
2009-06-03 06:35:27 UTC (rev 35596)
@@ -10,10 +10,11 @@
</c:if>
</mm:hasrank></th>
<c:if test="${empty dashboardTaskSize }">
- <th><a
href="tasklist.jsp?sortBy=creationdate&direction=${direction}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.created" /></a></th>
- <th><a
href="tasklist.jsp?sortBy=deadline&direction=${direction}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.deadline" /></a></th>
- <th><a
href="tasklist.jsp?sortBy=title&direction=${direction}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.title" /></a></th>
- <th><a
href="tasklist.jsp?sortBy=status&direction=${direction}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.status" /></th>
+ <c:set var="reverse" value="${direction =='up'?'down':'up'}"/>
+ <th><a
href="tasklist.jsp?sortBy=creationdate&direction=${reverse}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.created" /></a></th>
+ <th><a
href="tasklist.jsp?sortBy=deadline&direction=${reverse}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.deadline" /></a></th>
+ <th><a
href="tasklist.jsp?sortBy=title&direction=${reverse}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.title" /></a></th>
+ <th><a
href="tasklist.jsp?sortBy=status&direction=${reverse}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.status" /></th>
<th><fmt:message key="task.contenttitle" /></th>
<th><fmt:message key="task.nodetype" /></th>
<th><a
href="tasklist.jsp?sortBy=description&direction=${direction}&offset=${offset}&pager.offset=${pagerDOToffset}"><fmt:message
key="task.description" /></a></th>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs