#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1077026495', 'name' => 'list/edit-multiple.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\n\n
\n\n

\n To change multiple bugs:\n

    \n
  1. Check the bugs you want to change above.
  2. \n
  3. Make your changes in the form fields below. If the change\n you are making requires an explanation, include it in\n the comments box.
  4. \n
  5. Click the Commit button.
  6. \n
\n

\n\n\n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n"; if ($stash->get(['Param', [ 'useqacontact' ]])) { $output .= "\n \n \n \n "; } $output .= "\n\n \n\n \n \n\n \n"; if ($stash->get('use_keywords')) { $output .= "\n \n\n \n \n\n "; } $output .= "\n\n
"; $output .= $context->process('selectmenu', { 'menuname' => 'product', 'menuitems' => $stash->get('products') }); $output .= "\n "; $output .= $context->process('selectmenu', { 'menuname' => 'version', 'menuitems' => $stash->get('versions') }); $output .= "\n
\n \n "; $output .= $context->process('selectmenu', { 'menuname' => 'rep_platform', 'menuitems' => $stash->get('platforms') }); $output .= "\n \n \n "; $output .= $context->process('selectmenu', { 'menuname' => 'priority', 'menuitems' => $stash->get('priorities') }); $output .= "\n
"; $output .= $context->process('selectmenu', { 'menuname' => 'component', 'menuitems' => $stash->get('components') }); $output .= "\n \n \n "; $output .= $context->process('selectmenu', { 'menuname' => 'bug_severity', 'menuitems' => $stash->get('severities') }); $output .= "\n
"; $output .= $context->process('selectmenu', { 'menuname' => 'target_milestone', 'menuitems' => $stash->get('targetmilestones') }); $output .= "\n
\n filter('html') || $context->throw($context->error); $output .= $stash->get('dontchange'); &$filter($output); }; $output .= "\" \n size=\"32\">\n
\n \n \n
\n \n \n \n \n
\n\n\n\n
\n
\n"; if ($stash->get(['groups', 0, 'size', 0]) > 0) { $output .= "\n\n Groupset:
\n \n \n \n"; # FOREACH do { my ($value, $error, $oldloop); my $list = $stash->get('groups'); unless (UNIVERSAL::isa($list, 'Template::Iterator')) { $list = Template::Config->iterator($list) || die $Template::Config::ERROR, "\n"; } ($value, $error) = $list->get_first(); eval { $oldloop = $stash->get('loop') }; $stash->set('loop', $list); eval { LOOP: while (! $error) { $stash->{'group'} = $value; $output .= "\n \n \n "; if ($stash->get(['group', 0, 'isactive', 0])) { $output .= "\n "; } else { $output .= "\n "; $stash->set('foundinactive', 1); } $output .= "\n\n \n\n ";; ($value, $error) = $list->get_next(); } }; $stash->set('loop', $oldloop); die $@ if $@; $error = 0 if $error && $error eq Template::Constants::STATUS_DONE; die $error if $error; }; $output .= "\n\n
Don't
change
this group
restriction\n
Remove
bugs
from this
group\n
Add
bugs
to this
group\n
Group Name:\n
\n get(['group', 0, 'bit', 0]); $output .= "\" value=\"-1\" checked=\"checked\">\n \n get(['group', 0, 'bit', 0]); $output .= "\" value=\"0\">\n \n get(['group', 0, 'bit', 0]); $output .= "\" value=\"1\">\n  "; if ($stash->get(['group', 0, 'isactive', 0])) { $output .= $stash->get(['group', 0, 'description', 0]); } else { # FILTER $output .= do { my $output = ''; my $filter = $context->filter('strike') || $context->throw($context->error); $output .= $stash->get(['group', 0, 'description', 0]); &$filter($output); }; } $output .= "\n
\n"; if ($stash->get('foundinactive')) { $output .= "\n (Note: Bugs may not be added to inactive \n groups, only removed.)
"; } $output .= "\n"; } $output .= "\n\n\n"; $stash->set('knum', 0); $output .= "\n\n
\n"; if ($stash->get(['bugstatuses', 0, 'size', 0]) eq 1 && $stash->get(['bugstatuses', 0, 0, 0]) eq $stash->get('unconfirmedstate')) { $stash->set('knum', $stash->get('knum') + 1); $output .= "\n \n
"; } $output .= "\n"; $stash->set('knum', $stash->get('knum') + 1); $output .= "\n\n
\n\n"; if (! $stash->get(['bugstatuses', 0, 'containsany', [ $stash->get('closedstates') ]])) { $stash->set('knum', $stash->get('knum') + 1); $output .= "\n \n
\n"; $stash->set('knum', $stash->get('knum') + 1); $output .= "\n \n \n
\n"; } $output .= "\n\n"; if (! $stash->get(['bugstatuses', 0, 'containsany', [ $stash->get('openstates') ]])) { $stash->set('knum', $stash->get('knum') + 1); $output .= "\n \n
"; } $output .= "\n"; if ($stash->get(['bugstatuses', 0, 'size', 0]) eq 1) { if ($stash->get(['bugstatuses', 0, 'contains', [ 'RESOLVED' ]])) { $stash->set('knum', $stash->get('knum') + 1); $output .= "\n \n
"; } elsif ($stash->get(['bugstatuses', 0, 'contains', [ 'VERIFIED' ]])) { $stash->set('knum', $stash->get('knum') + 1); $output .= "\n \n
"; } } $output .= "\n"; $stash->set('knum', $stash->get('knum') + 1); $output .= "\n\n\nfilter('html') || $context->throw($context->error); $output .= $stash->get(['user', 0, 'login', 0]); &$filter($output); }; $output .= "\"\n onchange=\"document.forms.changeform.knob["; $output .= $stash->get('knum'); $output .= "].checked = true;\"\n size=\"32\">
\n"; $stash->set('knum', $stash->get('knum') + 1); $output .= "\n\n
\n\n\n"; if ($stash->get('ismover')) { $output .= "\n get(['Param', [ 'move-button-text' ]]); $output .= "\">"; } $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { 'selectmenu' => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $error; eval { BLOCK: { $output .= "\n "; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, }, });