📄 list.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1168217696', 'name' => 'admin/versions/list.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 28 "template\en\default\admin\versions\list.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 31 "template\en\default\admin\versions\list.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Select version of product\n '"; #line 31 "template\en\default\admin\versions\list.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "'"; $output; }); #line 32 "template\en\default\admin\versions\list.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') }); $output .= "\n"; #line 37 "template\en\default\admin\versions\list.html.tmpl" # CAPTURE $stash->set('edit_contentlink', do { my $output = ''; $output .= "editversions.cgi?action=edit&product="; #line 37 "template\en\default\admin\versions\list.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "&version=%%name%%"; $output; }); #line 39 "template\en\default\admin\versions\list.html.tmpl" # CAPTURE $stash->set('delete_contentlink', do { my $output = ''; $output .= "editversions.cgi?action=del&product="; #line 39 "template\en\default\admin\versions\list.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "&version=%%name%%"; $output; }); #line 41 "template\en\default\admin\versions\list.html.tmpl" # CAPTURE $stash->set('bug_count_contentlink', do { my $output = ''; $output .= "buglist.cgi?version=%%name%%&product="; #line 41 "template\en\default\admin\versions\list.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output; }); $output .= "\n\n"; #line 44 "template\en\default\admin\versions\list.html.tmpl" $stash->set('columns', [ { 'name' => 'name', 'heading' => 'Edit version...', 'contentlink' => $stash->get('edit_contentlink') } ]); $output .= "\n"; #line 63 "template\en\default\admin\versions\list.html.tmpl" if ($stash->get('showbugcounts')) { $output .= "\n"; #line 0 "template\en\default\admin\versions\list.html.tmpl" $output .= $stash->get(['columns', 0, 'push', [ { 'name' => 'bug_count', 'heading' => ('' . $stash->get(['terms', 0, 'Bugs', 0])), 'align' => 'right', 'contentlink' => $stash->get('bug_count_contentlink') } ]]); $output .= "\n"; } $output .= "\n"; #line 65 "template\en\default\admin\versions\list.html.tmpl" $output .= $stash->get(['columns', 0, 'push', [ { 'heading' => 'Action', 'content' => 'Delete', 'contentlink' => $stash->get('delete_contentlink') } ]]); $output .= "\n"; #line 72 "template\en\default\admin\versions\list.html.tmpl" $output .= $context->process('admin/table.html.tmpl', { 'columns' => $stash->get('columns'), 'data' => $stash->get(['product', 0, 'versions', 0]) }); $output .= "\n"; #line 82 "template\en\default\admin\versions\list.html.tmpl" if (! $stash->get('showbugcounts')) { $output .= "\n\n <p><a href=\"editversions.cgi?product="; #line 79 "template\en\default\admin\versions\list.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "&showbugcounts=1\">\n Redisplay table with "; #line 80 "template\en\default\admin\versions\list.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " counts (slower)</a></p>\n"; } $output .= "\n"; #line 84 "template\en\default\admin\versions\list.html.tmpl" $output .= $context->process('admin/versions/footer.html.tmpl', { 'no_edit_other_versions_link' => 1 }); $output .= "\n"; #line 88 "template\en\default\admin\versions\list.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -