{% load i18n %}

{% trans "Last dices" %}

{% for td in tournament.draw.current_round.team_draws %}
{{ td.participation.team.trigram }} 🎲 {{ td.last_dice|default:'??' }}
{% endfor %}
Recap {% if user.registration.is_volunteer %} {% endif %}
{% for round in tournament.draw.round_set.all %}
{{ round }}
    {% for pool in round.pool_set.all %}
  • {{ pool }}
      {% for td in pool.team_draws.all %}
    • {{ td.participation.team.trigram }} 📃 {{ td.accepted|default:'?' }}
      🗑️ {{ td.rejected|join:', ' }}
      {% if td.penalty %}
      ❌ {{ td.penalty }}
      {% endif %}
    • {% endfor %}
  • {% endfor %}
{% endfor %}
{{ tournament.draw.information|safe }}

{% trans "Launch dice" %}

{% trans "Draw a problem" %}

{% if user.registration.is_volunteer %} {% if tournament.final %} {% endif %} {% endif %}
{% for round in tournament.draw.round_set.all %}

{{ round }}

{% for pool in round.pool_set.all %} {% if pool.teamdraw_set.count %}

{{ pool }}

{% if pool.size == 4 %} {% endif %} {% if pool.size == 5 %} {% endif %} {% for td in pool.team_draws.all %} {% endfor %} {% for td in pool.team_draws %} {% if pool.size == 3 %} {% if forloop.counter == 1 %} {% elif forloop.counter == 2 %} {% elif forloop.counter == 3 %} {% endif %} {% elif pool.size == 4 %} {% if forloop.counter == 1 %} {% elif forloop.counter == 2 %} {% elif forloop.counter == 3 %} {% elif forloop.counter == 4 %} {% endif %} {% elif pool.size == 5 %} {% if forloop.counter == 1 %} {% elif forloop.counter == 2 %} {% elif forloop.counter == 3 %} {% elif forloop.counter == 4 %} {% elif forloop.counter == 5 %} {% endif %} {% endif %} {% endfor %}
{% trans "team"|capfirst %} Phase 1 Phase 2 Phase 3Phase 4
{% trans "Room" %} 1 {% trans "Room" %} 2 {% trans "Room" %} 1 {% trans "Room" %} 2 {% trans "Room" %} 1
Pb. {{ td.accepted|default:"?" }}
{{ td.participation.team.trigram }}Déf Rap OppOpp Déf RapRap Opp DéfDéf Rap OppOpp Déf RapRap Opp Déf Rap Opp DéfDéf Opp Rap Déf Rap OppOpp Déf RapRap Opp Déf Rap Opp Déf
{% endif %} {% endfor %}
{% endfor %}