]> git.donarmstrong.com Git - debbugs.git/commitdiff
indicate when bugs are archived in the pkgreport.cgi output
authorDon Armstrong <don@donarmstrong.com>
Sat, 16 Jun 2007 21:35:00 +0000 (22:35 +0100)
committerDon Armstrong <don@donarmstrong.com>
Sat, 16 Jun 2007 21:35:00 +0000 (22:35 +0100)
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})) {