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

raeburn raeburn@source.lon-capa.org
Mon, 07 Dec 2009 03:25:16 -0000


raeburn		Mon Dec  7 03:25:16 2009 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lonnavmaps.pm 
  Log:
  - Customization for GCI_3 (same change as 1.423.4.2 for GCI_2).
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.440 loncom/interface/lonnavmaps.pm:1.440.2.1
--- loncom/interface/lonnavmaps.pm:1.440	Thu Dec  3 17:50:42 2009
+++ loncom/interface/lonnavmaps.pm	Mon Dec  7 03:25:16 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.440 2009/12/03 17:50:42 bisitz Exp $
+# $Id: lonnavmaps.pm,v 1.440.2.1 2009/12/07 03:25:16 raeburn Exp $
 
 #
 # Copyright Michigan State University Board of Trustees
@@ -699,7 +699,11 @@
         return &mt("Excused by instructor");
     }
     if ($status == $res->ATTEMPTED) {
-        return &mt("Answer submitted, not yet graded");
+        if ($res->src() eq '/res/gci/gci/internal/submission.problem') {
+            return &mt('Question(s) submitted for review');
+        } else {
+            return &mt("Answer submitted, not yet graded");
+        }
     }
     if ($status == $res->TRIES_LEFT) {
         my $tries = $res->tries($part);
@@ -719,7 +723,11 @@
         }
     }
     if ($status == $res->ANSWER_SUBMITTED) {
-        return &mt('Answer submitted');
+        if ($res->src() eq '/res/gci/gci/internal/submission.problem') {
+            return &mt('Question(s) submitted for review');
+        } else {
+            return &mt('Answer submitted');
+        }
     }
 }