#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1031037898', 'name' => 'bug/process/verify-new-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 \n
\n"; $output .= $context->process('global/hidden-fields.html.tmpl', { 'exclude' => ($stash->get('verify_fields') ? ('' . "^version|component|target_milestone") : '') }); $output .= "\n\n"; if ($stash->get('verify_fields')) { $output .= "\n

Verify Version, Component"; if ($stash->get('use_target_milestone')) { $output .= ', Target Milestone'; } $output .= "

\n\n

"; if ($stash->get('use_target_milestone')) { $output .= "\n You are moving the bug(s) to the product "; $output .= $stash->get(['form', 0, 'product', 0]); $output .= ", \n and the version, component, and/or target milestone fields are no longer\n correct. Please set the correct version, component, and target milestone now:"; } else { $output .= "\n You are moving the bug(s) to the product "; $output .= $stash->get(['form', 0, 'product', 0]); $output .= ", \n and the version and component fields are no longer correct. \n Please set the correct version and component now:"; } $output .= "\n

\n\n \n \n \n "; if ($stash->get('use_target_milestone')) { $output .= "\n "; } $output .= "\n \n
\n Version:
"; $output .= $context->process('global/select-menu.html.tmpl', { 'name' => 'version', 'options' => $stash->get('versions'), 'default' => $stash->get(['defaults', 0, 'version', 0]) }); $output .= "\n
\n Component:
"; $output .= $context->process('global/select-menu.html.tmpl', { 'name' => 'component', 'options' => $stash->get('components'), 'default' => $stash->get(['defaults', 0, 'component', 0]) }); $output .= "\n
\n Target Milestone:
"; $output .= $context->process('global/select-menu.html.tmpl', { 'name' => 'target_milestone', 'options' => $stash->get('milestones'), 'default' => $stash->get(['defaults', 0, 'target_milestone', 0]) }); $output .= "\n
\n"; } $output .= "\n"; if ($stash->get('verify_bug_group')) { $output .= "\n

Verify Bug Group

\n\n

\n Do you want to add the bug to its new product's group (if any)?\n

\n\n

\n no
\n yes
\n \n yes, but only if the bug was in its old product's group
\n

"; } $output .= "\n\n\n\n
\n
\nCancel and Return to the Query Page\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 => { }, });