--- loncom/homework/inputtags.pm 2004/06/04 22:31:25 1.145 +++ loncom/homework/inputtags.pm 2004/06/28 15:01:44 1.147 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.145 2004/06/04 22:31:25 albertel Exp $ +# $Id: inputtags.pm,v 1.147 2004/06/28 15:01:44 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -691,7 +691,6 @@ sub gradestatus { &Apache::lonxml::debug('Getting message'); ($showbutton,$bgcolor,$message,$previousmsg) = &decideoutput($award,$awardmsg,$solved,$previous,$target); - &Apache::lonnet::logthis(" mesage is $message status is $status"); if ($target eq 'tex') { $message='\vskip 2 mm '.$message.' '; } else { @@ -713,7 +712,7 @@ sub gradestatus { if ( $Apache::lonhomework::type eq 'survey') { $tries_text=&mt('Submissions'); } if ( $showbutton ) { if ($target eq 'tex') { - if ($ENV{'request.state'} ne "construct" && $Apache::lonhomework::type ne 'exam') { + if ($ENV{'request.state'} ne "construct" && $Apache::lonhomework::type ne 'exam' && $ENV{'form.suppress_tries'} ne 'yes') { $trystr = ' {\vskip 1 mm \small \textit{'.$tries_text.'} '.$tries.'/'.$maxtries.'} \vskip 2 mm '; } else { $trystr = '\vskip 0 mm ';