$def with (course, stats_graph, stats_tasks, stats_users, daterange, 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 header: $var Column: $:template_helper.call('course_admin_menu',course=course,current='stats') $def NavbarF(): $var Navbar: $:NavbarF()

$:_("Stats")

$:_("Stats between {} and {}").format(daterange[0].strftime("%d/%m/%Y %H:%M:%S"), daterange[1].strftime("%d/%m/%Y %H:%M:%S"))

$:_("Submissions")

$:_("Tasks")

$for entry in stats_tasks:
Tasks# submissions# valid submissions
$entry['name'] $entry['submissions'] $entry['validSubmissions']

$:_("Users")

$for entry in stats_users:
User# submissions# valid submissions
$entry['name'] $entry['submissions'] $entry['validSubmissions']