--- loncom/homework/inputtags.pm 2002/10/24 19:20:17 1.68 +++ loncom/homework/inputtags.pm 2002/10/24 19:30:39 1.69 @@ -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.69 2002/10/24 19:30:39 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -431,7 +431,7 @@ 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\./)) { + if ($ENV{'request.state'} ne "construct") { $trystr = ' {\small \textit{Tries} '.$tries.'/'.$maxtries.'} '; } } else {