[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Tue, 13 May 2003 15:00:42 -0000
matthew Tue May 13 11:00:42 2003 EDT
Modified files:
/loncom/interface/statistics lonstudentassessment.pm
Log:
Bug 1092: Added output mode for chart which puts in links for all assessments,
whether or not the student has made an attempt.
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.46 loncom/interface/statistics/lonstudentassessment.pm:1.47
--- loncom/interface/statistics/lonstudentassessment.pm:1.46 Mon May 12 18:07:17 2003
+++ loncom/interface/statistics/lonstudentassessment.pm Tue May 13 11:00:42 2003
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.46 2003/05/12 22:07:17 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.47 2003/05/13 15:00:42 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -274,6 +274,15 @@
show => 'all',
show_links => 'yes',
},
+ { name => 'HTML, with all links',
+ value => 'html, with all links',
+ description => 'Output HTML with each symbol linked to the problem '.
+ 'which generated it. '.
+ 'This includes links for unattempted problems.',
+ mode => 'html',
+ show => 'all',
+ show_links => 'all',
+ },
{ name => 'HTML, without links',
value => 'html, without links',
description => 'Output HTML. By not including links, the size of the'.
@@ -1164,7 +1173,8 @@
}
}
#
- if ($links eq 'yes' && $symbol ne ' ') {
+ if ( ($links eq 'yes' && $symbol ne ' ') ||
+ ($links eq 'all')) {
$symbol = '<a href="/adm/grades'.
'?symb='.&Apache::lonnet::escape($resource->{'symb'}).
'&student='.$student->{'username'}.