]> git.donarmstrong.com Git - debbugs.git/blobdiff - templates/en_US/cgi/short_bug_status.tmpl
merge changes from don
[debbugs.git] / templates / en_US / cgi / short_bug_status.tmpl
index 30345797f09989ad92608fa1352185a503b4b407..943d769ebf6b0ad74393de2df3d337e59c1c7ab8 100644 (file)
      $output .= q(<span><strong>Done:</strong> ).html_escape($status{done}).q(;</span> )
   }
   $output;
+}{ my $output = '';
+   my $days = $status{archive_days};
+   if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') {
+       $output .= "<span><strong>Can be archived" .
+          ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) .
+              ";</strong></span>\n";
+   }
+   elsif (defined $status{location} and $status{location} eq 'archived') {
+       $output .= "<span><strong>Archived</strong></span>;\n";
+   }
+   $output;
 }{ my $output = '';
   if (@{$status{blockedby_array}}) {
      $output .= q(<span>Fix blocked by ).