blob: 4bac91ae2f122306fe35516c04f287fce4bba06f [file] [log] [blame]
#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.15
#------------------------------------------------------------------------
Template::Document->new({
METADATA => {
'modtime' => '1138010588',
'name' => 'reports/edit-series.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";
#line 22 "template/en/custom/reports/edit-series.html.tmpl"
$stash->set('title', 'Edit Series');
#line 27 "template/en/custom/reports/edit-series.html.tmpl"
# CAPTURE
$stash->set('h2', do {
my $output = '';
#line 24 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'category', 0]);
&$filter($output);
};
$output .= " / \n ";
#line 25 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'subcategory', 0]);
&$filter($output);
};
$output .= " /\n ";
#line 26 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'name', 0]);
&$filter($output);
};
$output;
});
$output .= "\n";
#line 29 "template/en/custom/reports/edit-series.html.tmpl"
$output .= $context->process('global/header.html.tmpl');
$output .= "\n";
#line 37 "template/en/custom/reports/edit-series.html.tmpl"
if ($stash->get('changes_saved')) {
$output .= "\n <p>\n <font color=\"red\">\n Series updated.\n </font>\n </p>";
}
$output .= "\n\n<form method=\"get\" action=\"chart.cgi\" name=\"chartform\">\n ";
#line 41 "template/en/custom/reports/edit-series.html.tmpl"
$output .= $context->process('reports/series.html.tmpl', { 'button_name' => 'Change Data Set' });
$output .= "\n <input type=\"hidden\" name=\"action\" value=\"alter\">\n ";
#line 47 "template/en/custom/reports/edit-series.html.tmpl"
if ($stash->get(['default', 0, 'series_id', 0])) {
$output .= "\n <input type=\"hidden\" name=\"series_id\" value=\"";
#line 46 "template/en/custom/reports/edit-series.html.tmpl"
$output .= $stash->get(['default', 0, 'series_id', 0]);
$output .= "\">";
}
$output .= "\n</form>\n\n<p>\n <b>Creator</b>: ";
#line 57 "template/en/custom/reports/edit-series.html.tmpl"
if ($stash->get(['creator', 0, 'email', 0])) {
$output .= "\n <a href=\"mailto:";
#line 53 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['creator', 0, 'email', 0]);
&$filter($output);
};
$output .= "\">";
#line 54 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['creator', 0, 'email', 0]);
&$filter($output);
};
$output .= "</a>";
}
else {
$output .= "\n (automatically created by ";
#line 56 "template/en/custom/reports/edit-series.html.tmpl"
$output .= $stash->get(['terms', 0, 'Bugzilla', 0]);
$output .= ")";
}
$output .= "\n</p>\n\n<p>Note: it is not yet possible to edit the search associated with this data\nset.\n</p>\n\n<p>\n <a href=\"query.cgi?";
#line 65 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'query', 0]);
&$filter($output);
};
$output .= "\">View \n series search parameters</a> |\n <a href=\"buglist.cgi?cmdtype=dorem&amp;namedcmd=";
#line 68 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'category', 0]);
&$filter($output);
};
$output .= "-";
#line 69 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'subcategory', 0]);
&$filter($output);
};
$output .= "-";
#line 70 "template/en/custom/reports/edit-series.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get(['default', 0, 'name', 0]);
&$filter($output);
};
$output .= "&amp;remaction=runseries&amp;series_id=";
#line 71 "template/en/custom/reports/edit-series.html.tmpl"
$output .= $stash->get(['default', 0, 'series_id', 0]);
$output .= "\">Run series search</a>\n</p>\n";
#line 74 "template/en/custom/reports/edit-series.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 => {
},
});