--- loncom/interface/lonquickgrades.pm 2008/10/16 16:35:53 1.43 +++ loncom/interface/lonquickgrades.pm 2008/12/15 16:37:44 1.46 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Quick Student Grades Display # -# $Id: lonquickgrades.pm,v 1.43 2008/10/16 16:35:53 bisitz Exp $ +# $Id: lonquickgrades.pm,v 1.46 2008/12/15 16:37:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -82,7 +82,10 @@ sub real_handler { # Header my $title = $showPoints ? "Points Display" : "Completed Problems Display"; - $r->print(&Apache::loncommon::start_page($title)); + my $brcrum = [{href=>"/adm/quickgrades",text => "Points Display"}]; + $r->print(&Apache::loncommon::start_page($title,undef, + {'bread_crumbs' => $brcrum}) + ); if (!$showPoints && !$notshowSPRSlink ) { $r->print('

' @@ -256,10 +259,19 @@ sub real_handler { $r->print("$thisIndent$title"); if ($totalAttempted) { - $r->print("$thisIndent$correct / $attempted / $total" - .&Apache::loncommon::end_data_table_row()); + $r->print('' + .$thisIndent + .'' + .$correct.' / '.$attempted.' / '.$total + .'' + .&Apache::loncommon::end_data_table_row() + ); } else { - $r->print("$thisIndent$correct / $total" + $r->print('' + .$thisIndent + .'' + .$correct.' / '.$total + .'' .&Apache::loncommon::end_data_table_row()); } }