--- loncom/interface/lonquickgrades.pm 2008/12/12 18:49:03 1.43.2.2 +++ loncom/interface/lonquickgrades.pm 2008/12/10 21:46:58 1.44 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Quick Student Grades Display # -# $Id: lonquickgrades.pm,v 1.43.2.2 2008/12/12 18:49:03 raeburn Exp $ +# $Id: lonquickgrades.pm,v 1.44 2008/12/10 21:46:58 kaisler Exp $ # # Copyright Michigan State University Board of Trustees # @@ -82,7 +82,8 @@ 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('

' @@ -255,20 +256,13 @@ sub real_handler { for (my $i = 1; $i < $depth; $i++) { $thisIndent .= $indentString; } $r->print("$thisIndent$title"); - if ($totalAttempted) { - $r->print('' - .$thisIndent - .'' - .$correct.' / '.$attempted.' / '.$total - .''); - } else { - $r->print('' - .$thisIndent - .'' - .$correct.' / '.$total - .''); - } - $r->print(&Apache::loncommon::end_data_table_row()); + if ($totalAttempted) { + $r->print("$thisIndent$correct / $attempted / $total" + .&Apache::loncommon::end_data_table_row()); + } else { + $r->print("$thisIndent$correct / $total" + .&Apache::loncommon::end_data_table_row()); + } } }