[rt-devel] [PATCH] Different Summary Fields 3.0.9
Tammy Dugan
tdugan at progeny.com
Thu Feb 19 14:10:08 EST 2004
Attached is the patch applied to 3.0.9.
Perhaps this is just a matter of taste?
* Change the summary table: remove queue, add age, last update time.
-------------- next part --------------
Index: misc/rt-enhancements/branches/3-0-9/html/Elements/MyRequests
===================================================================
--- misc/rt-enhancements/branches/3-0-9/html/Elements/MyRequests (revision 14772)
+++ misc/rt-enhancements/branches/3-0-9/html/Elements/MyRequests (revision 14773)
@@ -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: misc/rt-enhancements/branches/3-0-9/html/Elements/MyTickets
===================================================================
--- misc/rt-enhancements/branches/3-0-9/html/Elements/MyTickets (revision 14772)
+++ misc/rt-enhancements/branches/3-0-9/html/Elements/MyTickets (revision 14773)
@@ -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> </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