[rt-devel] Stalled patch

Jesse jesse at fsck.com
Thu Jun 7 12:00:49 EDT 2001


I've added this patch to the 2.0 section of the newly
reorganized RT contrib archive:

ftp://ftp.fsck.com/pub/rt/contrib/2.0


On Thu, Jun 07, 2001 at 03:00:55PM +0200, Christian Kurz wrote:
> Hi,
> 
> here's a simple patch against rt 1.3.80 that includes a new status
> overview for 25 stalled tickets. jesse, would you mind including it?
> 
> Christian
> -- 
> Christian Kurz                                   http://www.planNET.de
> planNET Systems GmbH                            mailto:info at planNET.de
> Schoenfeldstr. 8                              Telefon: +49 721 66 36 0
> D-76131 Karlsruhe                           Telefax: +49 721 66 36 199 

> diff -uNr rt-1-3-80/webrt/Elements/MyStalled rt-1-3-80-n/webrt/Elements/MyStalled
> --- rt-1-3-80/webrt/Elements/MyStalled	Thu Jan  1 01:00:00 1970
> +++ rt-1-3-80-n/webrt/Elements/MyStalled	Thu Jun  7 14:34:05 2001
> @@ -0,0 +1,42 @@
> +<& /Elements/TitleBoxStart, title => "25 stalled tickets I own..." &>
> +<TABLE BORDER=0 cellspacing=0 cellpadding=1 WIDTH=100%>
> +<TR>
> +<TH ALIGN=RIGHT>#</TH>
> +<TH ALIGN=LEFT>Subject</TH>
> +<TH ALIGN=LEFT>Queue</TH>
> +<TH ALIGN=LEFT>Status</TH>
> +<TH ALIGN=LEFT>&nbsp;</TH>
> +</TR>
> +% while (my $Ticket = $MyTickets->Next) {
> +<TR>
> +<TD ALIGN=RIGHT>
> +<%$Ticket->Id%>
> +</TD>
> +<TD>
> +<A HREF="<% $RT::WebPath %>/Ticket/Display.html?id=<%$Ticket->Id%>">
> +<%$Ticket->Subject%>
> +</A>
> +</TD>
> +<TD>
> +<%$Ticket->QueueObj->Name%>
> +</TD><TD>
> +<%$Ticket->Status%>
> +</TD>
> +<TD ALIGN=RIGHT>
> +[<A HREF="<% $RT::WebPath %>/Ticket/Update.html?id=<%$Ticket->Id%>">Update</A>]
> +</TD>
> +</TR>
> +% }
> +</TABLE>
> +<& /Elements/TitleBoxEnd &>
> +
> +
> +<%INIT>
> +my $MyTickets;
> +$MyTickets = new RT::Tickets ($session{'CurrentUser'});
> +$MyTickets->LimitOwner(VALUE => $session{'CurrentUser'}->Id);
> +$MyTickets->LimitStatus(VALUE => "stalled");
> +$MyTickets->OrderBy(FIELD => 'Priority', ORDER => 'DESC');
> +$MyTickets->RowsPerPage(25);
> +
> +</%INIT>
> diff -uNr rt-1-3-80/webrt/index.html rt-1-3-80-n/webrt/index.html
> --- rt-1-3-80/webrt/index.html	Wed Mar 28 05:30:47 2001
> +++ rt-1-3-80-n/webrt/index.html	Thu Jun  7 14:45:59 2001
> @@ -6,6 +6,8 @@
>  <& /Elements/MyTickets &>
>  <BR>
>  <& /Elements/MyRequests &>
> +<BR>
> +<& /Elements/MyStalled &>
>  </TD>
>  <TD>
>  <& /Elements/Quicksearch &>


-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

  "Mary had a crypto key / She kept it in escrow
     And everything that Mary said / The Feds were sure to know" -- Sam Simpson 




More information about the Rt-devel mailing list