Diff for /loncom/interface/lonstatistics.pm between versions 1.156.2.8 and 1.165

version 1.156.2.8, 2020/11/11 22:27:41 version 1.165, 2020/11/10 19:28:32
Line 466  sub selected_sequences_with_assessments Line 466  sub selected_sequences_with_assessments
   
     my @sequences_with_assessments;      my @sequences_with_assessments;
     foreach my $sequence (@sequences) {      foreach my $sequence (@sequences) {
  if ($navmap->hasResource($sequence,sub { shift->is_problem(); },0,1)){   if ($navmap->hasResource($sequence,sub { shift->is_gradable(); },0,1)){
             push(@sequences_with_assessments,$sequence);              push(@sequences_with_assessments,$sequence);
         }          }
     }      }
Line 833  sub handler { Line 833  sub handler {
                                             ['sort','reportSelected',                                              ['sort','reportSelected',
                                              'SelectedStudent']);                                               'SelectedStudent']);
     my $GoToPage = $env{'form.reportSelected'};      my $GoToPage = $env{'form.reportSelected'};
    
     #      #
     # Give the LON-CAPA page header      # Give the LON-CAPA page header
     my $style = <<ENDSTYLE;      my $style = <<ENDSTYLE;
Line 874  ENDSTYLE Line 874  ENDSTYLE
             }              }
         }          }
     }      }
         
     $r->print(&Apache::loncommon::start_page('Course Statistics and Charts',      $r->print(&Apache::loncommon::start_page('Course Statistics and Charts',
      $head_extra));       $head_extra));
     $r->rflush();      $r->rflush();
Line 887  ENDSTYLE Line 886  ENDSTYLE
                                             faq=>139,                                              faq=>139,
                                             bug=>'Statistics and Charts'});                                              bug=>'Statistics and Charts'});
     if ($GoToPage eq '') {      if ($GoToPage eq '') {
         $r->print(&Apache::lonhtmlcommon::breadcrumbs('Statistics Main Page').          $r->print(&Apache::lonhtmlcommon::breadcrumbs('Statistics Main Page'));
                   &CreateMainMenu());          &Apache::lonquickgrades::startGradeScreen($r,'statistics');
           $r->print(&CreateMainMenu());
     } else {      } else {
     #      #
         if (! &Apache::lonmysql::verify_sql_connection()) {          if (! &Apache::lonmysql::verify_sql_connection()) {
Line 973  ENDSTYLE Line 973  ENDSTYLE
         #          #
         $r->print("</form>\n");          $r->print("</form>\n");
     }      }
       &Apache::lonquickgrades::endGradeScreen($r);
     $r->print(&Apache::loncommon::end_page());      $r->print(&Apache::loncommon::end_page());
     $r->rflush();      $r->rflush();
     #      #

Removed from v.1.156.2.8  
changed lines
  Added in v.1.165


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>