{# 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 key, t in course.get_tags().items() %} {% if t.get_type() == 2 %}
  • {{ t.get_name(user_manager.session_language()) }}
  • {% endif %} {% endfor %}
{{ _("Advanced query") }}