[LON-CAPA-cvs] cvs: loncom /interface slotrequest.pm
raeburn
raeburn@source.lon-capa.org
Wed, 04 Nov 2009 15:37:23 -0000
raeburn Wed Nov 4 15:37:23 2009 EDT
Modified files:
/loncom/interface slotrequest.pm
Log:
- Accommodate Communities
- (C)course -> (C)community
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.105 loncom/interface/slotrequest.pm:1.106
--- loncom/interface/slotrequest.pm:1.105 Sat Oct 31 05:39:25 2009
+++ loncom/interface/slotrequest.pm Wed Nov 4 15:37:23 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for requesting to have slots added to a students record
#
-# $Id: slotrequest.pm,v 1.105 2009/10/31 05:39:25 raeburn Exp $
+# $Id: slotrequest.pm,v 1.106 2009/11/04 15:37:23 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1050,7 +1050,11 @@
}
if (!keys(%slots)) {
- $r->print('<div>'.&mt('No slots have been created in this course.').'</div>');
+ if ($crstype eq 'Community') {
+ $r->print('<div>'.&mt('No slots have been created in this community.').'</div>');
+ } else {
+ $r->print('<div>'.&mt('No slots have been created in this course.').'</div>');
+ }
return;
}