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

Statistics for $("classroom" if use_classrooms else "group") $aggregation["description"]

$for task in data:
Task Status # submissions
$if is_admin:
$task["name"] $if task["status"] == "notviewed": Not viewed $elif task["status"] == "notattempted": Not attempted (viewed) $elif task["status"] == "succeeded": Succeeded ($task["grade"]%) $else: Failed ($task["grade"]%) $task["tried"]
$if is_admin: