]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/pkgreport.cgi
indicate when bugs are archived in the pkgreport.cgi output
[debbugs.git] / cgi / pkgreport.cgi
index a38677094855b9831071a0b657c3f8faa3091ad2..ed67c54d13ae088111975594dd8c135e03f6792b 100755 (executable)
@@ -653,6 +653,9 @@ sub pkg_htmlindexentrystatus {
         if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') {
             $result .= ";\n<strong>Can be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . "</strong>";
         }
+       elsif (defined $status{location} and $status{location} eq 'archived') {
+            $result .= ";\n<strong>Archived.</strong>";
+       }
     }
 
     unless (length($status{done})) {