%# Never call a man a fool; borrow from him. % return unless $QueueObj->OriginObj;
<& /Work/Tickets/Elements/ShowCustomFields, Ticket => $QueueObj->OriginObj, ReadOnly => 1, Loc => 1 &>
  <&|/Work/Elements/Row, Title => loc('Latest Release')&> % my $Tickets = RT::Tickets->new( $session{'CurrentUser'} ); % $Tickets->LimitQueue( VALUE => $QueueObj->Id ); % $Tickets->LimitType( VALUE => 'release' ); % $Tickets->LimitStatus( VALUE => 'resolved' ); % $Tickets->OrderBy( FIELD => 'Starts', ORDER => 'DESC' ); % if (my $Ticket = $Tickets->First) { <% $Ticket->Subject %> % } else { (<&|/l&>none) % } <&|/Work/Elements/Row, Title => loc('Project Staff')&> % my $Members = $QueueObj->AdminCc->MembersObj; % while (my $watcher = $Members->Next) { <% $watcher->MemberObj->Object->Name %> (<&|/l&>Admin)
% } % $Members = $QueueObj->Cc->MembersObj; % while (my $watcher = $Members->Next) { <% $watcher->MemberObj->Object->Name %> (<&|/l&>Member)
% }
<%ATTR> Tab2 => 'Summary' <%ARGS> $QueueObj