$def with (id_question, course, task, submissions, remote_debug_available) $# $# 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())
Deadline $task.get_deadline()
Grade $user_manager.get_task_grade(task)%
Grading weight $task.get_grading_weight()
$if user_manager.has_staff_rights_on_course(course):

Administration

$if not course.is_open_to_non_staff(): $if not task.is_visible_by_students():
  View submissions $if user_manager.has_admin_rights_on_course(course):   Edit task   Debug informations
$else:

Submitting as

$if task.is_group_task():   Group $else:   $user_manager.session_realname()
  Classroom : $user_manager.get_course_user_classroom(course)["description"]
$:template_helper.call('task_menu', course=course, task=task, template_helper=template_helper) $var Column: $:ColumnF() $def NavbarF(): $var Navbar: $:NavbarF() $# Start content

$task.get_name()

$:task.get_context()
$if user_manager.has_admin_rights_on_course(course):
$for key, problem in enumerate(task.get_problems()): $if problem.get_id() == id_question:
$if len(task.get_problems()) != 1 or problem.get_name() != "":

$if len(task.get_problems()) != 1: $problem.get_name()

$:problem.get_header() $:problem.show_input(template_helper.get_common_renderer())
$if user_manager.task_can_user_submit(task): $if user_manager.has_admin_rights_on_course(course) and remote_debug_available:
$else: $elif not task.get_accessible_time().is_open(): $elif task.is_group_task(): Please register in a group $else: