$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():
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)% |