Skip to content
Snippets Groups Projects
Commit aad13df5 authored by Astor Bizard's avatar Astor Bizard :dog2:
Browse files

Limited submissions graphs visibility to teachers

parent f59cb196
No related branches found
No related tags found
No related merge requests found
......@@ -58,11 +58,13 @@ if ($detailed) {
$vpl->print_header( get_string( 'previoussubmissionslist', VPL ) );
$vpl->print_view_tabs( basename( __FILE__ ) );
$grapher = new vpl_grapher($vpl, $userid);
$grapher->draw_files_evolution_graph();
$grapher->draw_working_periods_graph();
$grapher->draw_files_evolution_graph(true);
$grapher->draw_daily_activity_graph();
if ($vpl->has_capability(VPL_GRADE_CAPABILITY)) {
$grapher = new vpl_grapher($vpl, $userid);
$grapher->draw_files_evolution_graph();
$grapher->draw_working_periods_graph();
$grapher->draw_files_evolution_graph(true);
$grapher->draw_daily_activity_graph();
}
$table = new html_table();
$table->head = array (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment