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

Submissions for the task "$:task.get_name()" - $user_realname ($username)

$for submission in data: $ succeeded = "result" in submission and submission["result"] == "success"
id submitted on result
$submission["_id"] $submission["submitted_on"].strftime("%d/%m/%Y %H:%M:%S") $if succeeded: Succeeded $else: Failed ($submission.get("grade",0.0)%)