$def with (course,student_list,tutor_list,other_students,users_info,classroom,msg,error) $# Copyright (c) 2014-2015 Université Catholique de Louvain. $# $# This file is part of INGInious. $# $# INGInious is free software: you can redistribute it and/or modify $# it under the terms of the GNU Affero General Public License as published $# by the Free Software Foundation, either version 3 of the License, or $# (at your option) any later version. $# $# INGInious is distributed in the hope that it will be useful, $# but WITHOUT ANY WARRANTY; without even the implied warranty of $# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the $# GNU Affero General Public License for more details. $# $# You should have received a copy of the GNU Affero General Public $# License along with INGInious. If not, see . $var title: Edit $classroom["description"] $def ColumnF():
$:template_helper.call('course_admin_menu',course=course,current='classrooms') $var Column: $:ColumnF() $def NavbarF(): $var Navbar: $:NavbarF()

Edit classroom $classroom["description"]

$if error: $elif msg:
$if classroom["default"]:
$if classroom["default"]: $else:
    $for user in (classroom["tutors"] + [None]): $if user is None:
  • $user ($user_manager.get_user_realname(user))
    $for username, student in student_list.iteritems(): $if not student["grouped"]:
  • $if users_info[username] is not None: $users_info[username][0] ($username) $else: $username $ style = 'style="display:none;"' if classroom["default"] else ''
$for index,group in enumerate((classroom["groups"] + [None])): $if group is None: