<& /Elements/Header, title => "What I did today" &> (displaying new and open tickets for <%$session{'CurrentUser'}->Name%>)
% while ( my $Ticket = $Tickets->Next()) { % my $class; % $i++; % if ($i % 2 ) { % $class = 'class="oddline"'; % } >>> % }

<%$Ticket->Id%>: <%$Ticket->Subject%>

Worked: minutes Comments:
Status: <& /Elements/SelectStatus, Name=> 'UpdateStatus-'.$Ticket->Id, DefaultLabel => loc("[_1] (Unchanged)",$Ticket->Status()) &>
<& /Elements/Submit, Label => "Record all updates" , Reset => 'Clear'&>
<%INIT> my $i = 0; my $Tickets = RT::Tickets->new($session{'CurrentUser'}); $Tickets->LimitOwner(VALUE => $session{'CurrentUser'}->Id); $Tickets->LimitStatus( VALUE => 'open' ); $Tickets->LimitStatus ( VALUE => 'new'); $Tickets->OrderBy ( FIELD => 'Priority', ORDER => 'DESC'); while (my $Ticket = $Tickets->Next()) { #Process updates }