--- loncom/homework/inputtags.pm 2004/06/07 21:52:11 1.146 +++ 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.146 2004/06/07 21:52:11 albertel Exp $ +# $Id: inputtags.pm,v 1.147 2004/06/28 15:01:44 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -712,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 ';