$def with (user_data, aggregations, tutored_aggregations, tutored_users, checked_users, show_aggregations, use_classrooms) $# $# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for $# more information about the licensing of this file. $# $if show_aggregations: $else:
$if len(tutored_users) != 0 or len(tutored_aggregations) != 0:
$if len(user_data) == 0:
$:_("No user to display")
$else:
    $for userid, username in user_data.items():
  • $username
$if len(aggregations) == 0:
$:(_('No classroom to display') if use_classrooms else _('No team to display'))
$else:
    $for aggregation in aggregations: $if use_classrooms or len(aggregation['groups']) > 0:
  • $aggregation['description']