From: Kevin C. <ke...@us...> - 2006-03-14 12:40:21
|
Update of /cvsroot/mailmanager/MailManager/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7412/www Modified Files: Tag: RELENG_2_1 Tickets.zpt Log Message: Now has sensible queue stats Index: Tickets.zpt =================================================================== RCS file: /cvsroot/mailmanager/MailManager/www/Tickets.zpt,v retrieving revision 1.59.2.4 retrieving revision 1.59.2.5 diff -u -d -r1.59.2.4 -r1.59.2.5 --- Tickets.zpt 10 Mar 2006 15:30:06 -0000 1.59.2.4 +++ Tickets.zpt 14 Mar 2006 12:40:07 -0000 1.59.2.5 @@ -216,7 +216,10 @@ Ticket Count </th> <th> - Queue Details + Last Received + </th> + <th> + Oldest Ticket </th> <th> </th> @@ -225,7 +228,8 @@ <tbody> <tr tal:repeat="queueinfo python:here.sql.listQueues() "> - <form action="getQueuedTicket"> + <form action="getQueuedTicket" + tal:content="queuestats python:here.getQueueStats(queue_name = queueinfo/queue_name)"> <input type="hidden" name="queuename" tal:attributes="value queueinfo/queue_name"/> <td tal:content="queueinfo/queue_name"> sales @@ -233,8 +237,11 @@ <td tal:content="python:here.sql.listTickets(sqv_assigned='_Q' + queueinfo.queue_name, sqv_count=here.sql_true)[0].count"> 1 </td> - <td> - Next Overdue at 12:23 + <td tal:content="queuestats/last_received"> + 12th May 13:20 + </td> + <td tal:content="queuestats/oldest_ticket"> + 9th May 23:14 </td> <td> <input type="submit" value="Get Ticket"/> |