#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1051217129', 'name' => 'list/list.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $error; eval { BLOCK: { $output .= "\n"; $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $stash->set('title', 'Bug List', 1); $stash->set('style_urls', [ 'css/buglist.css' ]); # CAPTURE $stash->set('qorder', do { my $output = ''; if ($stash->get('order')) { # FILTER $output .= do { my $output = ''; my $filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get('order'); &$filter($output); }; } $output; }); $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style' => $stash->get('style') }); $output .= "\n\n
\n "; $output .= $stash->get('currenttime'); $output .= "
\n"; if ($stash->get('debug')) { $output .= "\n

"; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('query'); &$filter($output); }; $output .= "

"; } $output .= "\n"; if ($stash->get('quip')) { $output .= "\n "; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('quip'); &$filter($output); }; $output .= ""; } $output .= "\n\n
\n"; if ($stash->get('toolong')) { $output .= "\n

\n This list is too long for Bugzilla's little mind; the \n Next/Prev/First/Last buttons won't appear on individual bugs.\n

"; } $output .= "\n\n
\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; if ($stash->get(['bugs', 0, 'size', 0]) > 9) { $output .= $stash->get(['bugs', 0, 'size', 0]); $output .= " bugs found."; } $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; if ($stash->get('dotweak')) { $output .= "\n
"; } $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= $stash->get('FLUSH'); $output .= $context->process('list/table.html.tmpl'); $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; if ($stash->get(['bugs', 0, 'size', 0]) eq 0) { $output .= "\n Zarro Boogs found.\n

\n Query Page\n   Enter New Bug\n filter('html') || $context->throw($context->error); $output .= $stash->get('urlquerypart'); &$filter($output); }; $output .= "\">Edit this query\n

\n"; } elsif ($stash->get(['bugs', 0, 'size', 0]) eq 1) { $output .= "\n One bug found.\n"; } else { $output .= $stash->get(['bugs', 0, 'size', 0]); $output .= " bugs found.\n"; } $output .= "\n\n
\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; if ($stash->get('dotweak')) { $output .= "\n"; $output .= $context->process('list/edit-multiple.html.tmpl'); $output .= "\n \n
\n\n
\n"; } $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; if ($stash->get(['bugs', 0, 'size', 0]) > 0) { $output .= "\n
\n get('buglist'); $output .= "\">\n \n\n Query Page   \n Enter New Bug   \n filter('html') || $context->throw($context->error); $output .= $stash->get('urlquerypart'); &$filter($output); }; $output .= "\">Change Columns   \n"; if ($stash->get(['bugs', 0, 'size', 0]) > 1 && $stash->get('caneditbugs') && ! $stash->get('dotweak')) { $output .= "\n filter('html') || $context->throw($context->error); $output .= $stash->get('urlquerypart'); &$filter($output); }; if ($stash->get('order')) { # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= ("&order=" . $stash->get('qorder')); &$filter($output); }; } $output .= "&tweak=1\">Change Several \n Bugs at Once\n   "; } $output .= "\n"; if ($stash->get('bugowners')) { $output .= "\n get('bugowners'); $output .= "\">Send Mail to Bug Owners   "; } $output .= "\n\n filter('html') || $context->throw($context->error); $output .= $stash->get('urlquerypart'); &$filter($output); }; $output .= "\">Edit this Query   \n\n
\n"; } $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= $context->process('global/footer.html.tmpl'); $output .= "\n\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { }, });