From: Don Armstrong Date: Sat, 16 Jun 2007 21:35:00 +0000 (+0100) Subject: indicate when bugs are archived in the pkgreport.cgi output X-Git-Tag: release/2.6.0~547^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7c6b5eebeb808f3e2cc89384a1dbae150bf1223a;p=debbugs.git indicate when bugs are archived in the pkgreport.cgi output --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index a386770..ed67c54 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -653,6 +653,9 @@ sub pkg_htmlindexentrystatus { if ($days >= 0 and defined $status{location} and $status{location} ne 'archive') { $result .= ";\nCan be archived" . ( $days == 0 ? " today" : $days == 1 ? " in $days day" : " in $days days" ) . ""; } + elsif (defined $status{location} and $status{location} eq 'archived') { + $result .= ";\nArchived."; + } } unless (length($status{done})) {