{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Clarifications - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}

Clarifications

{%- if current_contests is empty %}
No active contests
{%- else %}
Print clarifications Send clarification
Filter: {% for type in ['all', 'new', 'handled', 'general'] %} {% endfor %}
{% if queues | length > 0 %}
Queue: {%- for queue, name in queues %} {%- endfor %}
{% endif %} {% if currentFilter is null or currentFilter == 'new' %}

New requests

{%- if newClarifications | length == 0 %}

No new clarification requests.

{%- else %} {%- include 'jury/partials/clarification_list.html.twig' with {clarifications: newClarifications, direction: 'from'} %} {%- endif %} {% endif %} {% if currentFilter is null or currentFilter == 'handled' %}

Handled requests

{%- if oldClarifications | length == 0 %}

No old clarification requests.

{%- else %} {%- include 'jury/partials/clarification_list.html.twig' with {clarifications: oldClarifications, direction: 'from'} %} {%- endif %} {% endif %} {% if currentFilter is null or currentFilter == 'general' %}

General clarifications

{%- if generalClarifications | length == 0 %}

No general clarifications.

{%- else %} {%- include 'jury/partials/clarification_list.html.twig' with {clarifications: generalClarifications, direction: 'to'} %} {%- endif %} {% endif %} {%- endif %} {% endblock %}