[LON-CAPA-cvs] cvs: loncom(GCI_2) /interface lonnavmaps.pm
gci
gci@source.lon-capa.org
Wed, 23 Sep 2009 14:30:45 -0000
gci Wed Sep 23 14:30:45 2009 EDT
Modified files: (Branch: GCI_2)
/loncom/interface lonnavmaps.pm
Log:
- Customization for GCI_2.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.423.4.1 loncom/interface/lonnavmaps.pm:1.423.4.2
--- loncom/interface/lonnavmaps.pm:1.423.4.1 Wed Sep 23 14:28:33 2009
+++ loncom/interface/lonnavmaps.pm Wed Sep 23 14:30:45 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.423.4.1 2009/09/23 14:28:33 gci Exp $
+# $Id: lonnavmaps.pm,v 1.423.4.2 2009/09/23 14:30:45 gci Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -695,7 +695,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);
@@ -715,7 +719,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');
+ }
}
}