blob: df69ea716f3d202af56f02192b4e370d929bcf8e [file] [log] [blame]
#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.15
#------------------------------------------------------------------------
Template::Document->new({
METADATA => {
'modtime' => '1138010588',
'name' => 'bug/process/confirm-duplicate.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 31 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $context->process('global/variables.none.tmpl');
$output .= "\n";
#line 33 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $context->process('global/header.html.tmpl', { 'title' => 'Duplicate Warning' });
$output .= "\n\n<p>\n When marking ";
#line 36 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'abug', 0]);
$output .= " as a duplicate, the reporter of the duplicate\n is normally added to the CC list of the original. The permissions\n on ";
#line 38 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " ";
#line 38 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get('original_bug_id');
$output .= " (the original) are currently set\n such that the reporter would not normally be able to see it.\n</p>\n\n<p>\n <b>Adding the reporter to the CC list of ";
#line 43 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " \n ";
#line 44 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get('original_bug_id');
#line 49 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
if ($stash->get('cclist_accessible')) {
$output .= "\n will immediately";
}
else {
$output .= "\n might, in the future,";
}
$output .= "\n allow him/her access to view this ";
#line 50 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= ".</b>\n Do you wish to do this?\n</p>\n\n<form method=\"post\" action=\"process_bug.cgi\">\n";
#line 56 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $context->process('global/hidden-fields.html.tmpl', { 'exclude' => ('' . "^Bugzilla_(login|password)") });
$output .= "\n\n<p>\n <input type=\"radio\" name=\"confirm_add_duplicate\" value=\"1\">\n Yes, add the reporter to CC list on ";
#line 60 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " ";
#line 60 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get('original_bug_id');
$output .= "\n</p>\n<p>\n <input type=\"radio\" name=\"confirm_add_duplicate\" value=\"0\" checked=\"checked\">\n No, do not add the reporter to CC list on ";
#line 64 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " \n ";
#line 65 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get('original_bug_id');
$output .= "\n</p>\n<p>\n <a href=\"show_bug.cgi?id=";
#line 68 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get('duplicate_bug_id');
$output .= "\">Throw away my changes,\n and revisit ";
#line 69 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " ";
#line 69 "template/en/custom/bug/process/confirm-duplicate.html.tmpl"
$output .= $stash->get('duplicate_bug_id');
$output .= "</a>\n<p>\n <input type=\"submit\" value=\"Submit\">\n</p>\n\n</form>\n";
#line 76 "template/en/custom/bug/process/confirm-duplicate.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 => {
},
});