[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
www
lon-capa-cvs-allow@mail.lon-capa.org
Sun, 03 Feb 2008 00:05:23 -0000
www Sat Feb 2 19:05:23 2008 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
Mark practice problems in table of contents as "not graded." Use green
color for higher satisfaction.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.411 loncom/interface/lonnavmaps.pm:1.412
--- loncom/interface/lonnavmaps.pm:1.411 Thu Jan 24 17:12:02 2008
+++ loncom/interface/lonnavmaps.pm Sat Feb 2 19:05:23 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.411 2008/01/24 22:12:02 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.412 2008/02/03 00:05:23 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -854,7 +854,10 @@
if (!$resource->condval()) {
$nonLinkedText .= ' <i>('.&mt('conditionally hidden').')</i> ';
}
-
+ if ($resource->is_practice()) {
+ $nonLinkedText .=' <font color="green"><b>'.&mt('not graded').'</b></font>';
+ }
+
# We're done preparing and finally ready to start the rendering
my $result = "<td align='left' valign='middle'>";