#{html_escape($status{bug_num})} [{ my $output = qq(); my $temp = $status{severity}; $temp = substr $temp,0,1; if (isstrongseverity($status{severity})){ $temp = q().uc($temp).q(); length($output)?$output:'  '; }|{ my $output = ''; for my $tag (@{$status{tags_array}}) { next unless exists $config{tags_single_letter}{$tag}; $output .= q().$config{tags_single_letter}{$tag}.q(); } length($output)?$output:'  '; }|{ my $output = ''; if (@{$status{mergedwith_array}}) { $output .= qq(=); } if (@{$status{fixed_versions}}) { $output .= qq(); } if (@{$status{blockedby_array}}) { $output .= qq(); } if (@{$status{blocks_array}}) { $output .= qq(); } if (length($status{forwarded})) { $output .= qq(); } if ($status{archived}) { $output .= qq(); } length($output)?$output:'  '; }] [{package_links(package=>$status{package},options=>\%options,class=>"submitter")}] {html_escape($status{subject})}
Reported by: {package_links(submitter=>$status{originator})}; Date: {$status{date_text}}; { my $output = ''; if (defined $status{owner} and length $status{owner}) { $output = q(Owned by: ).package_links(owner=>$status{owner}).q(;); } $output; }Severity: {my $output = $status{severity}; if (isstrongseverity($status{severity})) { $output = q().$status{severity}.q(); } $output; }; {@{$status{tags_array}}?q(Tags: ).html_escape(join(q(, ),@{$status{tags_array}})).';':''} {my $output = ''; if (@{$status{mergedwith_array}}) { $output .= q(Merged with ).join(qq(,\n),bug_links(bug=>$status{mergedwith_array})).qq(;\n); } $output; }{my $output = ''; if (@{$status{found_versions}} or @{$status{fixed_versions}}) { $output .= ' '; } if (@{$status{found_versions}}) { $output .= q(Found in ); $output .= (@{$status{found_versions}} == 1) ? 'version ' : 'versions '; $output .= join(qq(, ),map {html_escape($_);} @{$status{found_versions}}).qq(;\n); } if (@{$status{fixed_versions}}) { $output .= q(Fixed in ); $output .= (@{$status{fixed_versions}} == 1) ? 'version ' : 'versions '; $output .= join(qq(, ),map {html_escape($_);} @{$status{fixed_versions}}).qq(;\n); } if (@{$status{found_versions}} or @{$status{fixed_versions}}) { $output .= qq(); } $output; }{ my $output = ''; if (length($status{forwarded})) { $output = "Forwarded to " . join(', ', map {maybelink($_)} split /\,\s+/,$status{forwarded} ).";\n"; } $output; }{ my $output = ''; if (length($status{done})) { $output .= q(Done: ).html_escape($status{done}).q(; ) } $output; }{ my $output = ''; my $days = $status{archive_days}; if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') { $output .= "Can be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . ";\n"; } elsif (defined $status{location} and $status{location} eq 'archived') { $output .= "Archived;\n"; } $output; }{ my $output = ''; if (@{$status{blockedby_array}}) { $output .= q(Fix blocked by ). join(q(, ), map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})} @{$status{blockedby_array}}).q(; ) } if (@{$status{blocks_array}}) { $output .= q(Blocking fix for ). join(q(, ), map {bug_links(bug=>$_->{bug_num}).q(: ).html_escape($_->{subject})} @{$status{blocks_array}}).q(; ) } $output; }{ my $output = ''; my ($days_last,$eng_last) = secs_to_english(time - $status{log_modified}); my ($days,$eng) = secs_to_english(time - $status{date}); if ($days >= 7) { my $font = ""; my $efont = ""; $font = "em" if ($days > 30); $font = "strong" if ($days > 60); $efont = "" if ($font); $font = "<$font>" if ($font); $output .= "${font}Filed $eng ago$efont;\n"; } if ($days_last > 7) { my $font = ""; my $efont = ""; $font = "em" if ($days_last > 30); $font = "strong" if ($days_last > 60); $efont = "" if ($font); $font = "<$font>" if ($font); $output .= "${font}Modified $eng_last ago$efont;\n"; } $output; }{ my $output = ''; if (exists $status{archived} and $status{archived}) { $output .= q(Bug is archived. No further changes may be made. ) } $output}