--- loncom/homework/grades.pm 2010/04/14 00:38:09 1.618 +++ loncom/homework/grades.pm 2010/04/14 15:04:58 1.619 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.618 2010/04/14 00:38:09 www Exp $ +# $Id: grades.pm,v 1.619 2010/04/14 15:04:58 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1129,7 +1129,7 @@ sub check_buttons { # Displays the submissions for one student or a group of students sub processGroup { - my ($request) = shift; + my ($request,$symb) = @_; my $ctr = 0; my @stuchecked = &Apache::loncommon::get_env_multiple('form.stuinfo'); my $total = scalar(@stuchecked)-1; @@ -1139,7 +1139,7 @@ sub processGroup { $env{'form.student'} = $uname; $env{'form.userdom'} = $udom; $env{'form.fullname'} = $fullname; - &submission($request,$ctr,$total); + &submission($request,$ctr,$total,$symb); $ctr++; } return ''; @@ -2208,6 +2208,7 @@ KEYWORDS $request->print(''."\n"); # return if view submission with no grading option +# FIXME: the logic seems off here. Why show the grade button if you cannot grade? if (!&canmodify($usec)) { my $toGrade.='