2 <p>Reported by: {package_links(submitter=>$status{originator})}</p>
3 <p>Date: {$status{date_text}}</p>
5 if (defined $status{owner} and length $status{owner}) {
6 $output = q(<p>Owned by: ).package_links(owner=>$status{owner}).q(</p>);
10 <p>Severity: {my $output = $status{severity};
11 if (isstrongseverity($status{severity})) {
12 $output = q(<em class="severity">).$status{severity}.q(</em>);
16 <p>{@{$status{tags_array}}?q(Tags: ).html_escape(join(q(, ),@{$status{tags_array}})):''}</p>
18 if (@{$status{mergedwith_array}}) {
19 $output .= q(<p>Merged with ).join(qq(,\n),bug_links(bug=>$status{mergedwith_array})).qq(</p>\n);
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);
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);
37 if (length($status{done})) {
38 $output .= q(<p><strong>Done:</strong> ).html_escape($status{done}).q(</p>)
43 if (@{$status{blockedby_array}}) {
44 $output .= q(<p>Fix blocked by ).
46 map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})}
47 @{$status{blockedby_array}}).q(</p>)
49 if (@{$status{blocks_array}}) {
50 $output .= q(<p>Blocking fix for ).
52 map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})}
53 @{$status{blocks_array}}).q(</p>)
58 if (exists $status{archived} and $status{archived}) {
59 $output .= q(<p>Bug is archived. No further changes may be made.<p>)
63 if (length($status{forwarded})) {
64 $output = "<p>Forwarded to " .
67 split /\,\s+/,$status{forwarded}
72 if (exists $status{summary} and defined $status{summary} and length $status{summary}) {
73 $output .= q(<p>Summary: ).html_escape($status{summary}).q(</p>);