| #------------------------------------------------------------------------ |
| # Compiled template generated by the Template Toolkit version 2.15 |
| #------------------------------------------------------------------------ |
| |
| Template::Document->new({ |
| METADATA => { |
| 'modtime' => '1138010588', |
| 'name' => 'bug/dependency-graph.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 35 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $context->process('global/variables.none.tmpl'); |
| $output .= "\n"; |
| #line 37 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $stash->set('title', 'Dependency Graph'); |
| $stash->set('h1', $stash->get('title')); |
| $output .= "\n"; |
| #line 45 "template/en/custom/bug/dependency-graph.html.tmpl" |
| if (! $stash->get('multiple_bugs') && ! $stash->get('doall')) { |
| #line 0 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $stash->set('title', ($stash->get('title') . " for " . $stash->get(['terms', 0, 'bug', 0]) . " " . $stash->get('bug_id'))); |
| $stash->set('h1', ($stash->get('h1') . " for " . $stash->get(['terms', 0, 'bug', 0]) . " <a href=\"show_bug.cgi?id=" . $stash->get('bug_id') . "\">" . $stash->get('bug_id') . "</a>")); |
| } |
| |
| $output .= "\n"; |
| #line 47 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $context->process('global/header.html.tmpl'); |
| $output .= "\n"; |
| #line 49 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get('image_map'); |
| $output .= "\n\n<p>\n Green circles represent open "; |
| #line 52 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get(['terms', 0, 'bugs', 0]); |
| $output .= ".\n</p>\n"; |
| #line 61 "template/en/custom/bug/dependency-graph.html.tmpl" |
| if ($stash->get('image_map')) { |
| $output .= "\n <img src=\""; |
| #line 56 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get('image_url'); |
| $output .= "\" alt=\"Dependency graph\" usemap=\"#imagemap\">"; |
| } |
| else { |
| $output .= "\n <a href=\""; |
| #line 58 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get('map_url'); |
| $output .= "\">\n <img src=\""; |
| #line 59 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get('image_url'); |
| $output .= "\" alt=\"Dependency graph\" ismap=\"ismap\">\n </a>"; |
| } |
| |
| $output .= "\n\n<hr>\n\n<form action=\"showdependencygraph.cgi\">\n <table>\n <tr>\n <td>"; |
| #line 69 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get(['terms', 0, 'Bug', 0]); |
| $output .= " numbers:\n <input name=\"id\" value=\""; |
| #line 70 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get('bug_id'); |
| $output .= "\">\n </td>\n </tr>\n\n <tr>\n <td>\n <input type=\"checkbox\" name=\"doall\""; |
| #line 77 "template/en/custom/bug/dependency-graph.html.tmpl" |
| if ($stash->get('doall')) { |
| $output .= ' checked'; |
| } |
| |
| $output .= ">\n Show <b>every</b> "; |
| #line 78 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get(['terms', 0, 'bug', 0]); |
| $output .= " in the system with dependencies\n </td>\n </tr>\n\n <tr>\n <td colspan=\"3\">\n <input type=\"checkbox\" name=\"showsummary\""; |
| #line 85 "template/en/custom/bug/dependency-graph.html.tmpl" |
| if ($stash->get('showsummary')) { |
| $output .= ' checked'; |
| } |
| |
| $output .= ">\n Show the summaries of all displayed "; |
| #line 86 "template/en/custom/bug/dependency-graph.html.tmpl" |
| $output .= $stash->get(['terms', 0, 'bugs', 0]); |
| $output .= "\n </td>\n </tr>\n\n <tr>\n <td colspan=\"3\">\n <select name=\"rankdir\">\n <option value=\"TB\""; |
| #line 94 "template/en/custom/bug/dependency-graph.html.tmpl" |
| if ($stash->get('rankdir') eq 'TB') { |
| $output .= ' selected'; |
| } |
| |
| $output .= ">\n Orient top-to-bottom\n </option>\n <option value=\"LR\""; |
| #line 98 "template/en/custom/bug/dependency-graph.html.tmpl" |
| if ($stash->get('rankdir') eq 'LR') { |
| $output .= ' selected'; |
| } |
| |
| $output .= ">\n Orient left-to-right\n </option>\n </select>\n </td>\n </tr>\n </table>\n <input type=\"submit\" value=\"Change Parameters\">\n</form>\n"; |
| #line 108 "template/en/custom/bug/dependency-graph.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 => { |
| |
| }, |
| }); |