📄 bugmail.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1161285796', 'name' => 'bug/process/bugmail.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\n"; $output .= "\n"; #line 39 "template\en\default\bug\process\bugmail.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 41 "template\en\default\bug\process\bugmail.html.tmpl" $stash->set('mail', $stash->get(['SendBugMail', [ $stash->get('mailing_bugid'), $stash->get('mailrecipients') ]])); $output .= "\n\n<dl>"; #line 44 "template\en\default\bug\process\bugmail.html.tmpl" $output .= $context->process('emails', { 'description' => 'Email sent to', 'names' => $stash->get(['mail', 0, 'sent', 0]) }); $output .= "\n"; #line 49 "template\en\default\bug\process\bugmail.html.tmpl" $output .= $context->process('emails', { 'description' => 'Excluding', 'names' => $stash->get(['mail', 0, 'excluded', 0]) }); $output .= "\n</dl>\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 => { 'emails' => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n <dt>"; #line 60 "template\en\default\bug\process\bugmail.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; $output .= ":</dt>\n <dd>"; #line 72 "template\en\default\bug\process\bugmail.html.tmpl" if ($stash->get(['user', 0, 'can_see_bug', [ $stash->get('mailing_bugid') ]])) { #line 69 "template\en\default\bug\process\bugmail.html.tmpl" if ($stash->get(['names', 0, 'size', 0]) > 0) { $output .= "\n "; #line 66 "template\en\default\bug\process\bugmail.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('names'); 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->{'name'} = $_tt_value; $output .= "\n <code>"; #line 65 "template\en\default\bug\process\bugmail.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "</code>"; #line 65 "template\en\default\bug\process\bugmail.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; }; } else { $output .= "\n no one"; } } else { $output .= "\n (list of e-mails not available)"; } $output .= "\n </dd>"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -