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

raeburn raeburn@source.lon-capa.org
Tue, 15 Sep 2009 01:02:14 -0000


raeburn		Tue Sep 15 01:02:14 2009 EDT

  Modified files:              (Branch: GCI_1)
    /loncom/interface	lonnavmaps.pm 
  Log:
  - Customization for GCI_1.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.415.4.1 loncom/interface/lonnavmaps.pm:1.415.4.2
--- loncom/interface/lonnavmaps.pm:1.415.4.1	Tue Sep 15 00:52:39 2009
+++ loncom/interface/lonnavmaps.pm	Tue Sep 15 01:02:13 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.415.4.1 2009/09/15 00:52:39 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.415.4.2 2009/09/15 01:02:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -229,7 +229,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);
@@ -249,7 +253,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');
+        }
     }
 }