| #------------------------------------------------------------------------ |
| # Compiled template generated by the Template Toolkit version 2.15 |
| #------------------------------------------------------------------------ |
| |
| Template::Document->new({ |
| METADATA => { |
| 'modtime' => '1138010588', |
| 'name' => 'admin/milestones/footer.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 \n<p>\n\n<hr>\n"; |
| #line 44 "template/en/custom/admin/milestones/footer.html.tmpl" |
| if (!($stash->get('no_add_milestone_link'))) { |
| $output .= "\n <a title=\"Add a milestone to product '"; |
| #line 41 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'\"\n href=\"editmilestones.cgi?action=add&product="; |
| #line 43 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">Add</a> a milestone. "; |
| } |
| |
| $output .= "\n"; |
| #line 53 "template/en/custom/admin/milestones/footer.html.tmpl" |
| if ($stash->get('name') && ! $stash->get('no_edit_milestone_link')) { |
| $output .= "\n Edit milestone <a \n title=\"Edit Milestone '"; |
| #line 48 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('name'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "' of product '"; |
| #line 49 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'\"\n href=\"editmilestones.cgi?action=edit&product="; |
| #line 51 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "&milestone="; |
| #line 51 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('name'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">\n '"; |
| #line 52 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('name'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'</a>."; |
| } |
| |
| $output .= "\n"; |
| #line 60 "template/en/custom/admin/milestones/footer.html.tmpl" |
| if (!($stash->get('no_edit_other_milestones_link'))) { |
| $output .= "\n Edit other milestones of product <a \n href=\"editmilestones.cgi?product="; |
| #line 58 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">'"; |
| #line 58 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'</a>.\n "; |
| } |
| |
| $output .= "\n\n Edit product <a \n href=\"editproducts.cgi?action=edit&product="; |
| #line 64 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">'"; |
| #line 64 "template/en/custom/admin/milestones/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('product'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'</a>.\n\n</p>\n"; |
| } }; |
| if ($@) { |
| $error = $context->catch($@, \$output); |
| die $error unless $error->type eq 'return'; |
| } |
| |
| return $output; |
| }, |
| DEFBLOCKS => { |
| |
| }, |
| }); |