📄 messages.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1119299758', 'name' => 'global/messages.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 27 "template\en\default\global\messages.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 30 "template\en\default\global\messages.html.tmpl" $stash->set('message_tag', $stash->get('message')); $output .= "\n"; #line 173 "template\en\default\global\messages.html.tmpl" # CAPTURE $stash->set('message', do { my $output = ''; #line 173 "template\en\default\global\messages.html.tmpl" if ($stash->get('message_tag') eq 'buglist_adding_field') { #line 33 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Adding field to search page...'); #line 33 "template\en\default\global\messages.html.tmpl" $stash->set('link', 'Click here if the page does not redisplay automatically.'); $output .= "\n"; } elsif ($stash->get('message_tag') eq 'buglist_load_named_query') { #line 37 "template\en\default\global\messages.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "\n Loading your search named "; #line 37 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('namedcmd'); &$filter($output); }; $output; }); #line 37 "template\en\default\global\messages.html.tmpl" $stash->set('link', 'Click here if the page does not redisplay automatically.'); $output .= "\n"; } elsif ($stash->get('message_tag') eq 'buglist_updated_named_query') { $output .= "\n OK, your search named <code>"; #line 41 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('queryname'); &$filter($output); }; $output .= "</code> is updated.\n"; } elsif ($stash->get('message_tag') eq 'buglist_new_default_query') { $output .= "\n OK, you now have a new default search. You may\n also bookmark the result of any individual search.\n"; } elsif ($stash->get('message_tag') eq 'buglist_new_named_query') { $output .= "\n OK, you have a new search named <code>"; #line 50 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('queryname'); &$filter($output); }; $output .= "</code>.\n"; } elsif ($stash->get('message_tag') eq 'buglist_query_gone') { #line 53 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Search is gone'); #line 53 "template\en\default\global\messages.html.tmpl" $stash->set('link', 'Go back to the search page.'); $output .= "\n OK, the <b>"; #line 54 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('namedcmd'); &$filter($output); }; $output .= "</b> search is gone.\n"; } elsif ($stash->get('message_tag') eq 'buglist_sorted_by_relevance') { #line 57 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " on this list are sorted by relevance, with the most\n relevant "; #line 58 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " at the top."; #line 63 "template\en\default\global\messages.html.tmpl" if ($stash->get(['bugs', 0, 'size', 0]) eq 200) { $output .= "\n Only the 200 most relevant "; #line 61 "template\en\default\global\messages.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " are shown."; } $output .= "\n"; } elsif ($stash->get('message_tag') eq 'change_columns') { #line 66 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Change columns'); $output .= "\n Resubmitting your search with new columns...\n Click <a href=\""; #line 68 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('redirect_url'); &$filter($output); }; $output .= "\">here</a>\n if the page does not automatically refresh.\n"; } elsif ($stash->get('message_tag') eq 'emailold_change_cancelled') { #line 72 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Cancel Request to Change Email Address'); $output .= "\n The request to change the email address for your account to\n "; #line 74 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('new_email'); &$filter($output); }; $output .= " has been cancelled.\n"; } elsif ($stash->get('message_tag') eq 'email_change_cancelled') { #line 77 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Cancel Request to Change Email Address'); $output .= "\n The request to change the email address for the\n account "; #line 79 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('old_email'); &$filter($output); }; $output .= " to\n "; #line 80 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('new_email'); &$filter($output); }; $output .= " has been cancelled.\n"; } elsif ($stash->get('message_tag') eq 'email_change_cancelled_reinstated') { #line 83 "template\en\default\global\messages.html.tmpl" $stash->set('title', 'Cancel Request to Change Email Address'); $output .= "\n The request to change the email address for the\n account "; #line 85 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('old_email'); &$filter($output); }; $output .= " to \n "; #line 86 "template\en\default\global\messages.html.tmpl" # FILTER $output .= do {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -