diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 00:56:06 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 00:56:06 -0700 |
commit | 43a06151e47d2c59b833cbd8c26d97865ee850b6 (patch) | |
tree | 42c51d94e7fa265461b508d061562be204ccc2c1 /rt/share/html/Tools/MyDay.html | |
parent | 6587f6ba7d047ddc1686c080090afe7d53365bd4 (diff) |
starting to work...
Diffstat (limited to 'rt/share/html/Tools/MyDay.html')
-rw-r--r-- | rt/share/html/Tools/MyDay.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/rt/share/html/Tools/MyDay.html b/rt/share/html/Tools/MyDay.html index 96d109096..cf7cbf9cd 100644 --- a/rt/share/html/Tools/MyDay.html +++ b/rt/share/html/Tools/MyDay.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -46,11 +46,11 @@ %# %# END BPS TAGGED BLOCK }}} <& /Elements/Header, Title => $title &> -<& /Tools/Elements/Tabs, current_tab => "Tools/MyDay.html", Title => $title &> +<& /Elements/Tabs &> <& /Elements/ListActions, actions => \@results &> -<h2><&|/l, $session{'CurrentUser'}->Name &>New and open tickets for [_1]</&></h2> +<h2><&|/l, $session{'CurrentUser'}->Name &>Active tickets for [_1]</&></h2> <form method="post" action="MyDay.html"> <table width="100%" cellpadding="0" cellspacing="0" class="myday"> % while ( my $Ticket = $Tickets->Next()) { @@ -64,7 +64,7 @@ href="<%RT->Config->Get('WebPath')%>/Ticket/Display.html?id=<%$Ticket->Id%>"><%$ <td rowspan="2"><span class="label"><&|/l&>Comments</&>:<br /></span><textarea name="UpdateContent-<%$Ticket->Id%>" rows="5" cols="60"></textarea></td></tr> <tr <%$class|n%>> -<td><span class="label"><&|/l&>Status</&>:</span> <& /Elements/SelectStatus, Name=> 'UpdateStatus-'.$Ticket->Id, +<td><span class="label"><&|/l&>Status</&>:</span> <& /Elements/SelectStatus, Name=> 'UpdateStatus-'.$Ticket->Id, TicketObj => $Ticket, DefaultLabel => loc("[_1] (Unchanged)",loc($Ticket->Status())) &></td> </tr> @@ -106,8 +106,7 @@ foreach my $arg ( keys %ARGS ) { my $Tickets = RT::Tickets->new($session{'CurrentUser'}); $Tickets->LimitOwner(VALUE => $session{'CurrentUser'}->Id); -$Tickets->LimitStatus( VALUE => 'open' ); -$Tickets->LimitStatus ( VALUE => 'new'); +$Tickets->LimitStatus( VALUE => $_ ) foreach RT::Queue->ActiveStatusArray; $Tickets->OrderBy ( FIELD => 'Priority', ORDER => 'DESC'); |