$def with (course,task,submissions,is_admin,webterm_link) $# $# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for $# more information about the licensing of this file. $# $var title: $:task.get_name() - $:task.get_course().get_name() $# Left column content $def ColumnF():

Informations

$if task.get_authors():
Author(s) $",".join(task.get_authors())
Status $if len(submissions) == 0: Not yet attempted $else: $ succeeded=False $ waiting=False $for submission in submissions: $if submission["status"] == "done" and submission["result"] == "success": $ succeeded=True $break $elif submission["status"] == "waiting": $ waiting=True $break $if succeeded: Succeeded $elif waiting: Waiting for verification $else: Wrong answer
Grade $user_manager.get_task_grade(task)%

Submissions

Please note that for performance reasons, INGInious may not keep all your submissions indefinitely. $if is_admin:

Administration

 Debug information  Download submissions
$var Column: $:ColumnF() $# Start content

$task.get_name()

$:task.get_context()
$if is_admin:
$# Store path to webterm if given $if webterm_link is not None: $for key, problem in enumerate(task.get_problems()):
$if len(task.get_problems()) != 1 or problem.get_name() != "":

$if len(task.get_problems()) != 1: Question ${key+1}: $problem.get_name()

$:problem.get_header() $:problem.show_input(template_helper.get_common_renderer())
$if is_admin:
$else: