]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2005-08-22 14:31:23 by ajt]
authorajt <>
Mon, 22 Aug 2005 21:31:23 +0000 (13:31 -0800)
committerajt <>
Mon, 22 Aug 2005 21:31:23 +0000 (13:31 -0800)
make "bug is archived" properly visible

cgi/bugreport.cgi

index 1ba65466eb8ab19bde4ecc879a208973b2ee6ea0..ac47a851cfbaf73a75121a4062b9c702b2c2f6ba 100755 (executable)
@@ -293,8 +293,11 @@ if (@blocks && $status{"pending"} ne 'fixed' && ! length($status{done})) {
     }
 }
 
+if ($buglog !~ m#^\Q$gSpoolDir/db#) {
+    push @descstates, "Bug is archived. No further changes may be made";
+}
 
-$indexentry .= join(";\n<br>", @descstates) . ";\n<br>" if @descstates;
+$indexentry .= join(";\n<br>", @descstates) . ".\n" if @descstates;
 $indexentry .= "</h3>\n";
 
 my $descriptivehead = $indexentry;
@@ -308,9 +311,6 @@ if ($buglog =~ m/\.gz$/) {
 } else {
     $buglogfh = new IO::File "<$buglog" or &quitcgi("open log for $ref: $!");
 }
-if ($buglog !~ m#^\Q$gSpoolDir/db#) {
-    $descriptivehead .= "\n<p class=\"msgreceived\">Bug is <strong>archived</strong>. No further changes may be made.</p>";
-}
 
 
 my @records;