$def with (course,data,msg,error) $# $# 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(user_manager.session_language()) $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()
$(_("Classroom") if use_classrooms else _("Team")) | $:_("# students") | $:_("# task tried") | $:_("# task done") | |
---|---|---|---|---|
$text[ind] | ||||
$aggregation["description"] | $(len(aggregation["students"]) if course.use_classrooms() else len(aggregation["groups"][0]["students"])) | $aggregation["tried"] | $aggregation["done"] |