The Android Open Source Project | 9364f22 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | #------------------------------------------------------------------------ |
| 2 | # Compiled template generated by the Template Toolkit version 2.15 |
| 3 | #------------------------------------------------------------------------ |
| 4 | |
| 5 | Template::Document->new({ |
| 6 | METADATA => { |
| 7 | 'modtime' => '1138010588', |
| 8 | 'name' => 'bug/process/header.html.tmpl', |
| 9 | }, |
| 10 | BLOCK => sub { |
| 11 | my $context = shift || die "template sub called without context\n"; |
| 12 | my $stash = $context->stash; |
| 13 | my $output = ''; |
| 14 | my $error; |
| 15 | |
| 16 | eval { BLOCK: { |
| 17 | $output .= "\n"; |
| 18 | $output .= "\n\n"; |
| 19 | $output .= "\n"; |
| 20 | #line 26 "template/en/custom/bug/process/header.html.tmpl" |
| 21 | $output .= $context->process('global/variables.none.tmpl'); |
| 22 | $output .= "\n"; |
| 23 | #line 32 "template/en/custom/bug/process/header.html.tmpl" |
| 24 | if ($stash->get('title_tag') eq 'bug_processed') { |
| 25 | #line 0 "template/en/custom/bug/process/header.html.tmpl" |
| 26 | $stash->set('title', ($stash->get(['terms', 0, 'Bug', 0]) . " processed")); |
| 27 | } |
| 28 | elsif ($stash->get('title_tag') eq 'mid_air') { |
| 29 | #line 31 "template/en/custom/bug/process/header.html.tmpl" |
| 30 | $stash->set('title', 'Mid-air collision!'); |
| 31 | } |
| 32 | |
| 33 | $output .= "\n"; |
| 34 | #line 34 "template/en/custom/bug/process/header.html.tmpl" |
| 35 | $output .= $context->process('global/header.html.tmpl'); |
| 36 | $output .= "\n"; |
| 37 | } }; |
| 38 | if ($@) { |
| 39 | $error = $context->catch($@, \$output); |
| 40 | die $error unless $error->type eq 'return'; |
| 41 | } |
| 42 | |
| 43 | return $output; |
| 44 | }, |
| 45 | DEFBLOCKS => { |
| 46 | |
| 47 | }, |
| 48 | }); |