{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #} {# more information about the licensing of this file. #}
{{ _("Query submissions") }}
{% set show_audiences = not old_params["users"] and old_params["audiences"] %}
{% if users|length == 0 %}
{{ _("No user to display") }}
{% else %}
    {% for userid, username in users.items() %}
  • {{ username }} ({{ userid }})
  • {% endfor %}
{% endif %}
{% if audiences|length == 0 %}
{{ _('No audience to display') }}
{% else %}
    {% for audience in audiences %}
  • {{ audience['description'] }}
  • {% endfor %}
{% endif %}
    {% for taskid, task in tasks.items() %}
  • {{ task.get_name(user_manager.session_language()) }}
  • {% endfor %}
    {% for category in course.get_task_dispenser().get_all_categories() %}
  • {{ category }}
  • {% endfor %}
{{ _("Advanced query") }}
{% set path = get_path('admin', course.get_id(), 'new_submissions') %}