$def with (course,user_data,is_staff) $# $# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for $# more information about the licensing of this file. $# $ is_admin = user_manager.has_admin_rights_on_course(course)
$if is_staff: $else: $for user in user_data:
$:_("member")$:_("student") $:_("# task tried") $:_("# task done") $:_("current grade")
$if not is_staff and is_admin:
$if user["realname"] != "": $user["realname"] ($user["username"] - email) $else: $user["username"] $user["task_tried"] $user["task_succeeded"]
$user["grade"]%
$if is_admin and not is_staff:
$if not is_staff: