[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

bowersj2 lon-capa-cvs@mail.lon-capa.org
Wed, 25 Jun 2003 18:32:06 -0000


bowersj2		Wed Jun 25 14:32:06 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Color all problem long status displays correctly, not just ones not it 
  multipart problems.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.211 loncom/interface/lonnavmaps.pm:1.212
--- loncom/interface/lonnavmaps.pm:1.211	Wed Jun 25 14:27:18 2003
+++ loncom/interface/lonnavmaps.pm	Wed Jun 25 14:32:06 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.211 2003/06/25 18:27:18 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.212 2003/06/25 18:32:06 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1021,7 +1021,7 @@
         $params->{'multipart'} && $part eq "0";
                 
     my $color;
-    if ($resource->is_problem() && ($resource->countParts() <= 1) ) {
+    if ($resource->is_problem()) {
         $color = $colormap{$resource->status};
         
         if (dueInLessThen24Hours($resource, $part) ||