]> git.donarmstrong.com Git - debbugs.git/blob - templates/en_US/cgi/bugreport_buginfo.tmpl
output outlook in bugreport
[debbugs.git] / templates / en_US / cgi / bugreport_buginfo.tmpl
1 <div class="buginfo">
2   <p>Reported by: {package_links(submitter=>$status{originator})}</p>
3   <p>Date: {$status{date_text}}</p>
4 { my $output = ''; 
5   if (defined $status{owner} and length $status{owner}) {
6      $output = q(<p>Owned by: ).package_links(owner=>$status{owner}).q(</p>);
7   }
8   $output;
9 }
10 <p>Severity: {my $output = $status{severity};
11               if (isstrongseverity($status{severity})) {
12                    $output = q(<em class="severity">).$status{severity}.q(</em>);
13               }
14               $output;
15              }</p>
16 <p>{@{$status{tags_array}}?q(Tags: ).html_escape(join(q(, ),@{$status{tags_array}})):''}</p>
17 {my $output = '';
18  if (@{$status{mergedwith_array}}) {
19     $output .= q(<p>Merged with ).join(qq(,\n),bug_links(bug=>$status{mergedwith_array})).qq(</p>\n);
20  }
21  $output;
22 }
23 {my $output = '';
24  if (@{$status{found_versions}}) {
25     $output .= q(<p>Found in );
26     $output .= (@{$status{found_versions}} == 1) ? 'version ' : 'versions ';
27     $output .= join(qq(, ),map {html_escape($_);} @{$status{found_versions}}).qq(</p>\n);
28  }
29  if (@{$status{fixed_versions}}) {
30     $output .= q(<p>Fixed in );
31     $output .= (@{$status{fixed_versions}} == 1) ? 'version ' : 'versions ';
32     $output .= join(qq(, ),map {html_escape($_);} @{$status{fixed_versions}}).qq(</p>\n);
33  }
34  $output;
35 }
36 { my $output = '';
37   if (length($status{done})) {
38      $output .= q(<p><strong>Done:</strong> ).html_escape($status{done}).q(</p>)
39   }
40   $output;
41 }
42 { my $output = '';
43   if (@{$status{blockedby_array}}) {
44      $output .= q(<p>Fix blocked by ).
45         join(q(, ),
46          map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})}
47          @{$status{blockedby_array}}).q(</p>)
48   }
49   if (@{$status{blocks_array}}) {
50      $output .= q(<p>Blocking fix for ).
51         join(q(, ),
52          map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})}
53          @{$status{blocks_array}}).q(</p>)
54   }
55   $output;
56 }
57 { my $output = '';
58   if (exists $status{archived} and $status{archived}) {
59      $output .= q(<p>Bug is archived. No further changes may be made.<p>)
60   }
61   $output
62 }{ my $output = '';
63  if (length($status{forwarded})) {
64     $output = "<p>Forwarded to " . 
65               join(', ',
66                    map {maybelink($_)}
67                     split /\,\s+/,$status{forwarded}
68                   )."</p>\n";
69  }
70  $output;
71 }{ my $output = '';
72   if (exists $status{summary} and defined $status{summary} and length $status{summary}) {
73      $output .= q(<p>Summary: ).html_escape($status{summary}).q(</p>);
74   }
75   if (exists $status{outlook} and defined $status{outlook} and length $status{outlook}) {
76      $output .= q(<p>Outlook: ).html_escape($status{outlook}).q(</p>);
77   }
78   $output;
79 }</div>