$if len(classroom["tutors"]) > 0:
$:_("Tutors")
$for user in classroom["tutors"]:
-
$if users[user] is not None:
$users[user][0]
$else:
$user
$if len(classroom["students"]) > 0:
$:_("Students")
$for user in classroom["students"]:
-
$if users[user] is not None:
$users[user][0]
$else:
$user
$if mygroup is not None:
$:_("My group")
$:_("Group #{}").format(mygroup['index'])
$if course.can_students_choose_group():
$for user in mygroup["students"]:
-
$if users[user] is not None:
$users[user][0]
$else:
$user
$elif len(classroom["groups"]) == 0:
$:_("No set group in this classroom. If you think this is a mistake, please contact the course administrator.")
$elif course.can_students_choose_group():
$:_("My group")
$:_("You're not registered to a group. Please consider registration in one of the group below to take part in all course activities. If no more group is available, please contact the course administrator.")
$else:
$:_("My group")
$:_("You're not yet registered to a group. Please contact the course administrator for more information.")
$if not len(classroom["groups"]) == 0:
$:_("All groups")
$for index, group in enumerate(classroom["groups"]):
$if mygroup is None and (group["size"]-len(group["students"])) > 0 and course.can_students_choose_group():
$else:
$:_("Group #{}").format(index+1)
$if mygroup is None and (group["size"]-len(group["students"])) > 0 and course.can_students_choose_group():
(available : $(group["size"]-len(group["students"])) )
$if len(group["students"]) == 0:
- $:_("No registered member.")
$else:
$for user in group["students"]:
-
$if users[user] is not None:
$users[user][0]
$else:
$user