From: Don Armstrong Date: Tue, 12 Aug 2008 15:38:15 +0000 (-0700) Subject: * add   for empty bits X-Git-Tag: release/2.6.0~474^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=01784b23d72a4339060551d7a68bb2c41c870b40;p=debbugs.git * add   for empty bits * switch to using abbr instead of span --- diff --git a/templates/en_US/cgi/short_bug_status.tmpl b/templates/en_US/cgi/short_bug_status.tmpl index 943d769e..0fa3d91e 100644 --- a/templates/en_US/cgi/short_bug_status.tmpl +++ b/templates/en_US/cgi/short_bug_status.tmpl @@ -1,42 +1,42 @@
#{html_escape($status{bug_num})} [{ - my $output = qq(); + my $output = qq(); my $temp = $status{severity}; $temp = substr $temp,0,1; if (isstrongseverity($status{severity})){ $temp = q().uc($temp).q(); - $output; + $output .= $temp.qq(); + 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(); + $output .= q().$config{tags_single_letter}{$tag}.q(); } - $output; + length($output)?$output:'  '; }|{ my $output = ''; if (@{$status{mergedwith_array}}) { - $output .= qq(=); + $output .= qq(=); } if (@{$status{fixed_versions}}) { - $output .= qq(☺); + $output .= qq(☺); } if (@{$status{blockedby_array}}) { - $output .= qq(┫); + $output .= qq(┫); } if (@{$status{blocks_array}}) { - $output .= qq(┣); + $output .= qq(┣); } if (length($status{forwarded})) { - $output .= qq(↝); + $output .= qq(↝); } if ($status{archived}) { - $output .= qq(♲); + $output .= qq(♲); } - $output; + length($output)?$output:'  '; }] [{package_links(package=>$status{package},options=>\%options,class=>"submitter")}] {html_escape($status{subject})}