| #------------------------------------------------------------------------ |
| # Compiled template generated by the Template Toolkit version 2.15 |
| #------------------------------------------------------------------------ |
| |
| Template::Document->new({ |
| METADATA => { |
| 'modtime' => '1138010588', |
| 'name' => 'admin/milestones/select-product.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"; |
| #line 29 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| # USE |
| $stash->set('Bugzilla', |
| $context->plugin('Bugzilla')); |
| #line 30 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| $stash->set('cgi', $stash->get(['Bugzilla', 0, 'cgi', 0])); |
| $output .= "\n"; |
| #line 32 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| $output .= $context->process('global/variables.none.tmpl'); |
| $output .= "\n"; |
| #line 34 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| $output .= $context->process('global/header.html.tmpl', { 'title' => 'Edit milestones for which product?' }); |
| $output .= "\n"; |
| #line 39 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| |
| # CAPTURE |
| $stash->set('bug_count_contentlink', do { |
| my $output = ''; |
| $output .= "buglist.cgi?target_milestone=%%name%%&product="; |
| #line 39 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output; |
| }); |
| |
| $output .= "\n"; |
| #line 41 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| $stash->set('columns', [ { 'name' => 'name', 'heading' => 'Edit milestones of...', 'contentlink' => 'editmilestones.cgi?product=%%name%%' }, { 'name' => 'description', 'heading' => 'Description', 'allow_html_content' => 1 } ]); |
| $output .= "\n"; |
| #line 55 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| $output .= $context->process('admin/table.html.tmpl', { 'columns' => $stash->get('columns'), 'data' => $stash->get('products') }); |
| $output .= "\n\n<p>\n"; |
| #line 62 "template/en/custom/admin/milestones/select-product.html.tmpl" |
| $output .= $context->process('global/footer.html.tmpl'); |
| $output .= "\n"; |
| } }; |
| if ($@) { |
| $error = $context->catch($@, \$output); |
| die $error unless $error->type eq 'return'; |
| } |
| |
| return $output; |
| }, |
| DEFBLOCKS => { |
| |
| }, |
| }); |