[rt-devel] [PATCH] Different Summary Fields

Darrin Thompson darrint at progeny.com
Fri Feb 13 17:52:38 EST 2004


Perhaps this is just a matter of taste?

* Change the summary table: remove queue, add age, last update time.

See attached.

--
Darrin



-------------- next part --------------
Index: share/html/Elements/MyRequests
===================================================================
--- share/html/Elements/MyRequests	(revision 14572)
+++ share/html/Elements/MyRequests	(revision 14573)
@@ -32,7 +32,8 @@
 <TR>
 <TH align=right><&|/l&>#</&></TH>
 <TH align=left><&|/l&>Subject</&></TH>
-<TH align=left><&|/l&>Queue</&></TH>
+<TH align=left><&|/l&>Age</&></TH>
+<TH align=left><&|/l&>Last Update</&></TH>
 <TH align=left><&|/l&>Status</&></TH>
 <TH align=left><&|/l&>Owner</&></TH>
 </TR>
@@ -50,8 +51,11 @@
 </A>
 </TD>
 <TD>
-<%$Ticket->QueueObj->Name%>
+<% $Ticket->CreatedObj->AgeAsString %>
 </TD>
+<TD>
+<% $Ticket->LastUpdatedObj->AgeAsString %>
+</TD>
 % my $status = $Ticket->Status;
 <TD class="<% $status %>">
 % if ($Ticket->HasUnresolvedDependencies ) {
Index: share/html/Elements/MyTickets
===================================================================
--- share/html/Elements/MyTickets	(revision 14572)
+++ share/html/Elements/MyTickets	(revision 14573)
@@ -33,7 +33,8 @@
 <TR>
 <TH ALIGN=RIGHT><&|/l&>#</&></TH>
 <TH ALIGN=LEFT><&|/l&>Subject</&></TH>
-<TH ALIGN=LEFT><&|/l&>Queue</&></TH>
+<TH ALIGN=LEFT><&|/l&>Age</&></TH>
+<TH ALIGN=LEFT><&|/l&>Last Update</&></TH>
 <TH ALIGN=LEFT><&|/l&>Status</&></TH>
 <TH ALIGN=LEFT>&nbsp;</TH>
 </TR>
@@ -53,8 +54,11 @@
 </A>
 </TD>
 <TD>
-<%$Ticket->QueueObj->Name%>
+<% $Ticket->CreatedObj->AgeAsString %> 
 </TD>
+<TD>
+<% $Ticket->LastUpdatedObj->AgeAsString %>
+</TD>
 %my $status = $Ticket->Status;
 <TD class="<% $status %>">
 % if ($Ticket->HasUnresolvedDependencies ) {


More information about the Rt-devel mailing list