From: Don Armstrong <don@donarmstrong.com> Date: Sun, 10 Aug 2008 15:47:30 +0000 (-0700) Subject: * add missing span elements X-Git-Tag: release/2.6.0~479^2~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=83c2b67cba835242b84839b470442bd2bab1c53d;p=debbugs.git * add missing span elements --- diff --git a/templates/en_US/cgi/short_bug_status.tmpl b/templates/en_US/cgi/short_bug_status.tmpl index 0b8e49f3..15ba2d00 100644 --- a/templates/en_US/cgi/short_bug_status.tmpl +++ b/templates/en_US/cgi/short_bug_status.tmpl @@ -99,12 +99,12 @@ }{ my $output = ''; my $days = $status{archive_days}; if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') { - $output .= ";\n<strong>Can be archived" . + $output .= "<span><strong>Can be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . - "</strong>"; + "</strong></span>;\n"; } elsif (defined $status{location} and $status{location} eq 'archived') { - $output .= ";\n<strong>Archived.</strong>"; + $output .= "<span><strong>Archived</strong></span>;\n"; } $output; }{ my $output = '';