<& /Elements/Header, Title => $title &> <& /Tools/Spam/Elements/Tabs, Title => $title, current_tab => "Tools/Spam/Reported.html", &> <& /Elements/ListActions, actions => \@results &>

<% loc('Tickets reported as spam by other without rights to delete tickets.') %> <% loc('Confirm by clicking "S".') %> <% loc('If you have rights to delete tickets then they will be deleted.') %>

<& /Elements/CollectionList, Rows => 100, OrderBy => 'id', Order => 'DESC', %ARGS, Class => 'RT::Tickets', Query => $Query, Format => $Format, AllowSorting => 1, ShowEmpty => 1, &> <%ARGS> $Format => undef <%INIT> my $Query = 'HasAttribute = "SpamReports"'; my $title = loc('Recently created tickets'); my @results; $Format ||= qq{ '__id__/TITLE:#', '__Subject__/TITLE:Subject', Requestors, QueueName, ReportSpam };