$def with (course,data,errors) $# $# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for $# more information about the licensing of this file. $# $var title: $:course.get_name() $var Column: $:template_helper.call('course_admin_menu',course=course,current='tasks') $ is_admin = user_manager.has_admin_rights_on_course(course) $def NavbarF(): $var Navbar: $:NavbarF()

Tasks

$for taskid in data:
task name # student viewed # student attempted # student succeeded # attempts
$data[taskid]["name"] $data[taskid]["viewed"] $data[taskid]["attempted"] $data[taskid]["succeeded"] $data[taskid]["attempts"]
$if is_admin: $if is_admin:
$if len(errors) != 0:

Errors while loading tasks

$for task in errors:
task id error
$task['taskid']
$task['error']