📄 show-multiple.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1209946158', 'name' => 'bug/show-multiple.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n"; $output .= "\n"; #line 26 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('global/field-descs.none.tmpl'); $output .= "\n"; #line 0 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => ("Full Text " . $stash->get(['terms', 0, 'Bug', 0]) . " Listing"), 'h1' => '', 'style_urls' => [ 'skins/standard/show_multiple.css', 'skins/standard/buglist.css' ] }); #line 34 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('bug/time.html.tmpl'); #line 43 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['bugs', 0, 'first', 0])) { #line 38 "template\en\default\bug\show-multiple.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('bugs'); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'bug'} = $_tt_value; #line 37 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('bug_display');; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; } else { $output .= "\n <p>\n You'd have more luck if you gave me some "; #line 41 "template\en\default\bug\show-multiple.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " numbers.\n </p>"; } $output .= "\n\n"; #line 46 "template\en\default\bug\show-multiple.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { 'rightcell' => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { #line 351 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get('rightcells')) { #line 320 "template\en\default\bug\show-multiple.html.tmpl" $stash->set('name', $stash->get(['rightcells', 0, 'shift', 0])); #line 350 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get('name') eq 'cc') { $output .= "\n <th class=\"rightcell\">"; #line 322 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, 'cc', 0]); &$_tt_filter($output); }; $output .= ":</th>\n <td>"; #line 326 "template\en\default\bug\show-multiple.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['bug', 0, 'cc', 0]); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'c'} = $_tt_value; #line 325 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('c'); &$_tt_filter($output); }; #line 325 "template\en\default\bug\show-multiple.html.tmpl" if (! $stash->get(['loop', 0, 'last', 0])) { $output .= ', '; } ; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; } elsif ($stash->get('name') eq 'reporter' || $stash->get('name') eq 'assigned_to' || $stash->get('name') eq 'qa_contact') { $output .= "\n <th class=\"rightcell\">"; #line 329 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, $stash->get('name'), 0]); &$_tt_filter($output); }; $output .= ":</th>\n <td>"; #line 330 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['bug', 0, $stash->get('name'), 0, 'identity', 0]); &$_tt_filter($output); }; $output .= "</td>"; } elsif ($stash->get('name') eq 'flags') { $output .= "\n <th class=\"rightcell\">Flags:</th>\n <td>"; #line 342 "template\en\default\bug\show-multiple.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['bug', 0, 'flag_types', 0]); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'type'} = $_tt_value; #line 341 "template\en\default\bug\show-multiple.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['type', 0, 'flags', 0]); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'flag'} = $_tt_value; #line 336 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['flag', 0, 'setter', 0, 'nick', 0]); &$_tt_filter($output); }; $output .= ":\n "; #line 337 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('no_break') || $context->throw($context->error); # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['flag', 0, 'type', 0, 'name', 0]); &$_tt_filter($output); }; &$_tt_filter($output); }; #line 337 "template\en\default\bug\show-multiple.html.tmpl" $output .= $stash->get(['flag', 0, 'status', 0]); $output .= "\n "; #line 340 "template\en\default\bug\show-multiple.html.tmpl" if ($stash->get(['flag', 0, 'status', 0]) eq '?' && $stash->get(['flag', 0, 'requestee', 0])) { $output .= "\n ("; #line 339 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['flag', 0, 'requestee', 0, 'nick', 0]); &$_tt_filter($output); }; $output .= ")"; } $output .= "<br>";; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; ; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; $output .= "\n </td>"; } elsif ($stash->get('name') ne '') { $output .= "\n <th class=\"rightcell\">"; #line 345 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, $stash->get('name'), 0]); &$_tt_filter($output); }; $output .= ":</th>\n <td>"; #line 346 "template\en\default\bug\show-multiple.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -