--- loncom/homework/inputtags.pm 2002/10/24 19:20:17 1.68 +++ loncom/homework/inputtags.pm 2002/10/28 19:19:19 1.70 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.68 2002/10/24 19:20:17 sakharuk Exp $ +# $Id: inputtags.pm,v 1.70 2002/10/28 19:19:19 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -431,8 +431,8 @@ sub gradestatus { if ( $maxtries eq 'con_lost' ) { $maxtries = '0'; } if ( $showbutton ) { if ($target eq 'tex') { - if ((not $ENV{'request.role'}=~m/^au\./) and (not $ENV{'request.role'}=~m/^ca\./)) { - $trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} '; + if ($ENV{'request.state'} ne "construct") { + $trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} \vskip 0 mm '; } } else { $trystr = "Tries $tries/$maxtries";