From 01784b23d72a4339060551d7a68bb2c41c870b40 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 12 Aug 2008 08:38:15 -0700 Subject: [PATCH] * add   for empty bits * switch to using abbr instead of span --- templates/en_US/cgi/short_bug_status.tmpl | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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})} -- 2.39.5