--- loncom/homework/bridgetask.pm 2005/03/17 21:21:11 1.2 +++ loncom/homework/bridgetask.pm 2005/03/17 21:56:04 1.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.2 2005/03/17 21:21:11 albertel Exp $ +# $Id: bridgetask.pm,v 1.3 2005/03/17 21:56:04 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -64,6 +64,7 @@ sub start_Task { if (( $status eq 'CLOSED' ) || ( $status eq 'BANNED') || ( $status eq 'UNAVAILABLE') || + ( $status eq 'NOT_IN_A_SLOT') || ( $status eq 'INVALID_ACCESS')) { my $bodytext=&Apache::lonxml::get_all_text("/task",$parser); if ( $target eq "web" ) { @@ -71,6 +72,10 @@ sub start_Task { my $msg=$body_tag_start; if ($status eq 'UNAVAILABLE') { $msg.='

'.&mt('Unable to determine if this resource is open due to network problems. Please try again later.').'

'; + } elsif ($status eq 'NOT_IN_A_SLOT') { + $msg.='

'.&mt('You are not currently signed up to work at this time and/or place.').'

'; + } elsif ($status eq 'IN_A_SLOT') { + $msg.='

'.&mt('You need the Proctor to validate you.').'

'; } elsif ($status ne 'NOT_YET_VIEWED') { $msg.='

'.&mt('Not open to be viewed').'

'; }