{% extends "base.html" %} {% load django_tables2 i18n %} {% block content %}

{{ pool }} {% if user.registration.is_admin or user.registration in pool.tournament.organizers.all %} {% endif %}

{% trans "Tournament:" %}
{{ pool.tournament }}
{% trans "Round:" %}
{{ pool.get_round_display }}
{% trans "Letter:" %}
{{ pool.get_letter_display }}
{% if pool.participations.count == 5 %}
{% trans "Room:" %}
{{ pool.get_room_display }}
{% endif %}
{% trans "Teams:" %}
{% for participation in pool.participations.all %} {{ participation.team }}{% if not forloop.last %}, {% endif %} {% endfor %}
{% trans "Juries:" %}
{{ pool.juries.all|join:", " }} {% trans "Edit jury" %}
{% trans "Reported solutions:" %}
{% for passage in pool.passages.all %} {{ passage.reporter.team.trigram }} — {{ passage.get_solution_number_display }}{% if not forloop.last %}, {% endif %} {% endfor %} {% trans "Download all" %}
{% trans "Syntheses:" %}
    {% for passage in pool.passages.all %}
  • {{ passage.reporter.team.trigram }} — {{ passage.get_solution_number_display }} : {% for review in passage.written_reviews.all %} {{ review.participation.team.trigram }} ({{ review.get_type_display }}){% if not forloop.last %}, {% endif %} {% empty %} {% trans "No review was uploaded yet." %} {% endfor %}
  • {% endfor %}
{% trans "Download all" %}
{% if pool.bbb_url %}
{% trans "BigBlueButton link:" %}
{{ pool.bbb_url|urlize }}
{% endif %} {% if user.registration.is_admin or user.registration.is_volunteer %} {% if user.registration.is_admin or user.registration in pool.tournament.organizers.all or user.registration == pool.jury_president %}
{% trans "Notation sheets:" %}
{% trans "Google Sheets Spreadsheet:" %}
{% trans "Go to the Google Sheets page of the pool" %}
{% endif %} {% endif %}
{% trans "Ranking" %}
    {% for participation, note in notes %}
  • {{ participation.team }} : {{ note|floatformat }}
  • {% endfor %}
{% if user.registration.is_admin or user.registration.is_volunteer %} {% if user.registration.is_admin or user.registration in pool.tournament.organizers.all or user.registration == pool.jury_president %} {% endif %} {% endif %}

{% trans "Passages" %}

{% render_table passages %} {% trans "Update pool" as modal_title %} {% trans "Update" as modal_button %} {% url "participation:pool_update" pk=pool.pk as modal_action %} {% include "base_modal.html" with modal_id="updatePool" %} {% trans "Upload notes" as modal_title %} {% trans "Upload" as modal_button %} {% url "participation:pool_upload_notes" pk=pool.pk as modal_action %} {% include "base_modal.html" with modal_id="uploadNotes" modal_button_type="success" modal_enctype="multipart/form-data" %} {% endblock %} {% block extrajavascript %} {% endblock %}