[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm
raeburn
raeburn at source.lon-capa.org
Tue Dec 20 17:47:28 EST 2011
raeburn Tue Dec 20 22:47:28 2011 EDT
Modified files:
/loncom/homework inputtags.pm
Log:
- No "Submit Answer" button if RESERVABLE, RESERVABLE_LATER, or NOTRESERVABLE status
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.299 loncom/homework/inputtags.pm:1.300
--- loncom/homework/inputtags.pm:1.299 Thu Dec 15 01:21:28 2011
+++ loncom/homework/inputtags.pm Tue Dec 20 22:47:27 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.299 2011/12/15 01:21:28 raeburn Exp $
+# $Id: inputtags.pm,v 1.300 2011/12/20 22:47:27 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1494,7 +1494,10 @@
&& $status ne 'UNAVAILABLE'
&& $status ne 'INVALID_ACCESS'
&& $status ne 'NEEDS_CHECKIN'
- && $status ne 'NOT_IN_A_SLOT') {
+ && $status ne 'NOT_IN_A_SLOT'
+ && $status ne 'RESERVABLE'
+ && $status ne 'RESERVABLE_LATER'
+ && $status ne 'NOTRESERVABLE') {
($previousmsg,$latemessage,$message,$trystr) =
&get_grade_messages($id,"resource.$id",$target,$status,
More information about the LON-CAPA-cvs
mailing list