📄 duplicates.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1074451170', 'name' => 'reports/duplicates.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 37 "template\en\default\reports\duplicates.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 40 "template\en\default\reports\duplicates.html.tmpl" if ($stash->get(['query_products', 0, 'size', 0])) { #line 0 "template\en\default\reports\duplicates.html.tmpl" $stash->set('title', ("Most Frequently Reported " . $stash->get(['terms', 0, 'Bugs', 0]) . " for " . $stash->get(['query_products', 0, 'join', [ ', ' ]]))); } else { #line 0 "template\en\default\reports\duplicates.html.tmpl" $stash->set('title', ("Most Frequently Reported " . $stash->get(['terms', 0, 'Bugs', 0]))); } $output .= "\n"; #line 43 "template\en\default\reports\duplicates.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'style' => '.resolved { background-color: #d9d9d9; color: #000000; }' }); $output .= "\n\n<p>\n <a href=\"#explanation\">What is this data?</a>\n <br>\n <a href=\"#params\">Change parameters</a>\n</p>\n"; #line 54 "template\en\default\reports\duplicates.html.tmpl" $output .= $context->process('reports/duplicates-table.html.tmpl'); $output .= "\n\n"; $output .= "\n"; #line 59 "template\en\default\reports\duplicates.html.tmpl" $stash->set('bug_ids_string', $stash->get(['vis_bug_ids', 0, 'join', [ ',' ]])); $output .= "\n\n<h3><a name=\"params\">Change Parameters</a></h3>\n\n<form method=\"get\" action=\"duplicates.cgi\">\n <input type=\"hidden\" name=\"sortby\" value=\""; #line 64 "template\en\default\reports\duplicates.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('sortby'); &$filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"reverse\" value=\""; #line 65 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get('reverse'); $output .= "\">\n <input type=\"hidden\" name=\"bug_id\" value=\""; #line 66 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get('bug_ids_string'); $output .= "\">\n <table>\n <tr>\n <td>When sorting or restricting,\n work with:</td>\n <td>\n <input type=\"radio\" name=\"sortvisible\" id=\"entirelist\" value=\"0\""; #line 74 "template\en\default\reports\duplicates.html.tmpl" if (! $stash->get('sortvisible')) { $output .= 'checked'; } $output .= ">\n <label for=\"entirelist\">\n entire list\n </label>\n <br>\n <input type=\"radio\" name=\"sortvisible\" id=\"visiblelist\" value=\"1\""; #line 81 "template\en\default\reports\duplicates.html.tmpl" if ($stash->get('sortvisible')) { $output .= 'checked'; } $output .= ">\n <label for=\"visiblelist\">\n currently visible list\n </label>\n </td>\n <td rowspan=\"4\" valign=\"top\">Restrict to products:</td>\n <td rowspan=\"4\" valign=\"top\">\n <select name=\"product\" size=\"5\" multiple=\"multiple\">"; #line 96 "template\en\default\reports\duplicates.html.tmpl" # FOREACH do { my ($value, $error, $oldloop); my $list = $stash->get('products'); 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->{'p'} = $value; $output .= "\n <option name=\""; #line 91 "template\en\default\reports\duplicates.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('p'); &$filter($output); }; $output .= "\""; #line 93 "template\en\default\reports\duplicates.html.tmpl" if ($stash->get(['lsearch', [ $stash->get('query_products'), $stash->get('p') ]]) ne -1) { $output .= ' selected'; } $output .= "\n >"; #line 94 "template\en\default\reports\duplicates.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('p'); &$filter($output); }; $output .= "</option>";; ($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 </select>\n </td>\n </tr>\n\n <tr>\n <td>Max rows:</td>\n <td>\n <input size=\"4\" name=\"maxrows\" value=\""; #line 104 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get('maxrows'); $output .= "\">\n </td>\n </tr>\n\n <tr>\n <td>Change column is change in the last:</td>\n <td>\n <input size=\"4\" name=\"changedsince\" value=\""; #line 111 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get('changedsince'); $output .= "\"> days\n </td>\n </tr>\n\n <tr>\n <td>\n <label for=\"openonly\">\n Open "; #line 118 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " only:\n </label>\n </td>\n <td>\n <input type=\"checkbox\" name=\"openonly\" id=\"openonly\" value=\"1\""; #line 124 "template\en\default\reports\duplicates.html.tmpl" if ($stash->get('openonly')) { $output .= 'checked'; } $output .= ">\n </td>\n </tr>\n\n </table>\n\n <input type=\"submit\" value=\"Change\">\n</form>\n\n<form method=\"post\" action=\"buglist.cgi\">\n <input type=\"hidden\" name=\"bug_id\" value=\""; #line 134 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get('bug_ids_string'); $output .= "\">\n <input type=\"hidden\" name=\"order\" value=\"Reuse same sort as last time\">\n Or just give this to me as a <input type=\"submit\" value=\""; #line 136 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " list\">.\n (Note: the order may not be the same.)\n</form>\n\n<hr>\n\n<b>\n <a name=\"explanation\">What are \"Most Frequently Reported "; #line 143 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= "\"?</a>\n</b>\n\n<blockquote>\n The Most Frequent "; #line 147 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " page lists the known open "; #line 147 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " which\n are reported most frequently. It is\n automatically generated from the "; #line 149 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " database every 24 hours, by\n counting the number of direct and indirect duplicates of "; #line 150 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n This information is provided in order to assist in minimizing\n the amount of duplicate "; #line 152 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " entered into "; #line 152 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ", which\n saves time for Quality Assurance engineers who have to triage the "; #line 153 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n</blockquote>\n\n<b>How do I use this list?</b>\n\n<ul>\n <li>Review the most frequent "; #line 159 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " list.</li>\n <li>If your problem is listed:</li>\n\n <ul>\n <li>Click on the "; #line 163 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " number to confirm that you have found the\n same "; #line 164 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ", and comment if you have additional information\n or move on with your testing of the product.\n </li>\n </ul>\n\n <li>If your problem not listed:</li>\n\n <ul>\n <li><a href=\"query.cgi\">Try and locate a similar "; #line 172 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "</a>\n that has already been filed.</li>\n <li>If you find your "; #line 174 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " in "; #line 174 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ",\n feel free to comment with any new or additional data you may have.</li>\n <li>If you cannot find your problem already documented in "; #line 176 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ",\n <a href=\"enter_bug.cgi\">file a new "; #line 177 "template\en\default\reports\duplicates.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "</a>.</li>\n </ul>\n</ul>\n"; #line 182 "template\en\default\reports\duplicates.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 => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -