[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 21 Dec 2005 19:07:53 -0000


albertel		Wed Dec 21 14:07:53 2005 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - make the full BT status message be more like the indiviual Dim ones
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.91 loncom/homework/bridgetask.pm:1.92
--- loncom/homework/bridgetask.pm:1.91	Wed Dec 21 14:06:10 2005
+++ loncom/homework/bridgetask.pm	Wed Dec 21 14:07:53 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.91 2005/12/21 19:06:10 albertel Exp $
+# $Id: bridgetask.pm,v 1.92 2005/12/21 19:07:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -758,7 +758,7 @@
 		    my $opt_req=&Apache::lonxml::get_param('OptionalRequired',
 							 $parstack,$safeeval);
 		    if ($opt_req !~ /\S/) { $opt_req='0'; }
-		    $status.="\n<p>".&mt('You needed to pass all of the [_1]  mandatory components and [_2] of the [_3] optional components on the bridge task.',$man_count,$opt_req,$opt_count)."</p></div>\n";
+		    $status.="\n<p>".&mt('You needed to pass all of the [_1]  mandatory components and [_2] of the [_3] optional components, of which you were required to pass [_4] on the bridge task.',$man_count,$opt_passed,$opt_count,$opt_req)."</p></div>\n";
 
 		    my $internal_location=&internal_location();
 		    $result=~s/\Q$internal_location\E/$status/;