[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm
musolffc
musolffc at source.lon-capa.org
Mon Oct 26 16:36:45 EDT 2015
musolffc Mon Oct 26 20:36:45 2015 EDT
Modified files:
/loncom/homework lonhomework.pm
Log:
Recording "done button" action in "User Notes"
When a student ends an exam by pressing the "done button", that action is recorded as a user note which can be viewed by course personnel on the student's personal information page.
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.358 loncom/homework/lonhomework.pm:1.359
--- loncom/homework/lonhomework.pm:1.358 Mon Oct 5 02:35:40 2015
+++ loncom/homework/lonhomework.pm Mon Oct 26 20:36:45 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.358 2015/10/05 02:35:40 raeburn Exp $
+# $Id: lonhomework.pm,v 1.359 2015/10/26 20:36:45 musolffc Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1448,6 +1448,10 @@
'date_interval',
$env{'user.name'},
$env{'user.domain'});
+ # Record action in "User Notes"
+ &Apache::lonmsg::store_instructor_comment(
+ 'Pressed Done button for symb:<br />'.$symb,
+ $env{'user.name'}, $env{'user.domain'});
return $result;
}
}
More information about the LON-CAPA-cvs
mailing list