2021-01-01 11:11:09 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% load getconfig i18n django_tables2 %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-02-20 22:02:09 +00:00
|
|
|
<div class="card bg-body shadow">
|
2021-01-01 11:11:09 +00:00
|
|
|
<div class="card-header text-center">
|
|
|
|
<h4>{{ tournament.name }}</h4>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<dl class="row">
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'organizers'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.organizers.all|join:", " }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'size'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.max_teams }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'place'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.place }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-06-07 14:35:08 +00:00
|
|
|
{% if TFJM.PAYMENT_MANAGEMENT %}
|
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'price'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{% if tournament.price %}{{ tournament.price }} €{% else %}{% trans "Free" %}{% endif %}</dd>
|
|
|
|
{% endif %}
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'remote'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.remote|yesno }}</dd>
|
2021-01-23 18:57:25 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'dates'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{% trans "From" %} {{ tournament.date_start }} {% trans "to" %} {{ tournament.date_end }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'date of registration closing'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.inscription_limit }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'date of maximal solution submission'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.solution_limit }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'date of the random draw'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.solutions_draw }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'date of maximal syntheses submission for the first round'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.syntheses_first_phase_limit }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'date of maximal syntheses submission for the second round'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.syntheses_second_phase_limit }}</dd>
|
2021-01-01 11:11:09 +00:00
|
|
|
|
2024-06-07 14:35:08 +00:00
|
|
|
{% if TFJM.APP == "ETEAM" %}
|
2024-06-07 13:48:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'date of maximal syntheses submission for the third round'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.syntheses_third_phase_limit }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
|
2024-04-29 17:51:52 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'description'|capfirst %}</dt>
|
|
|
|
<dd class="col-sm-6">{{ tournament.description }}</dd>
|
2021-01-21 21:36:35 +00:00
|
|
|
|
2024-06-07 14:35:08 +00:00
|
|
|
{% if TFJM.ML_MANAGEMENT %}
|
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'To contact organizers' %}</dt>
|
|
|
|
<dd class="col-sm-6"><a href="mailto:{{ tournament.organizers_email }}">{{ tournament.organizers_email }}</a></dd>
|
2021-01-21 21:36:35 +00:00
|
|
|
|
2024-06-07 14:35:08 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'To contact juries' %}</dt>
|
|
|
|
<dd class="col-sm-6"><a href="mailto:{{ tournament.jurys_email }}">{{ tournament.jurys_email }}</a></dd>
|
2021-01-21 21:36:35 +00:00
|
|
|
|
2024-06-07 14:35:08 +00:00
|
|
|
<dt class="col-sm-6 text-sm-end">{% trans 'To contact valid teams' %}</dt>
|
|
|
|
<dd class="col-sm-6"><a href="mailto:{{ tournament.teams_email }}">{{ tournament.teams_email }}</a></dd>
|
|
|
|
{% endif %}
|
2021-01-01 11:11:09 +00:00
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
2021-01-19 00:19:18 +00:00
|
|
|
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
|
2021-01-01 11:11:09 +00:00
|
|
|
<div class="card-footer text-center">
|
2024-03-31 19:36:09 +00:00
|
|
|
<a class="btn btn-secondary" href="{% url "participation:tournament_update" pk=tournament.pk %}">
|
|
|
|
<i class="fas fa-edit"></i>
|
|
|
|
{% trans "Edit tournament" %}
|
|
|
|
</a>
|
2021-01-01 11:11:09 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<h3>{% trans "Teams" %}</h3>
|
|
|
|
<div id="teams_table">
|
|
|
|
{% render_table teams %}
|
|
|
|
</div>
|
2024-06-07 14:35:08 +00:00
|
|
|
|
|
|
|
{% if TFJM.PAYMENT_MANAGEMENT %}
|
|
|
|
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
|
|
|
|
<div class="text-center">
|
|
|
|
<a href="{% url "participation:tournament_payments" pk=tournament.pk %}" class="btn btn-secondary">
|
|
|
|
<i class="fas fa-money-bill-wave"></i> {% trans "Access to payments list" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-02-23 21:58:23 +00:00
|
|
|
{% endif %}
|
2021-01-13 15:22:26 +00:00
|
|
|
|
2021-01-18 15:49:23 +00:00
|
|
|
{% if pools.data %}
|
2021-01-18 15:54:57 +00:00
|
|
|
<hr>
|
|
|
|
|
2021-01-18 15:49:23 +00:00
|
|
|
<h3>{% trans "Pools" %}</h3>
|
|
|
|
<div id="pools_table">
|
|
|
|
{% render_table pools %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2021-01-13 15:22:26 +00:00
|
|
|
|
2021-01-18 15:54:57 +00:00
|
|
|
{% if notes %}
|
|
|
|
<hr>
|
2021-01-14 18:23:32 +00:00
|
|
|
|
2023-02-20 22:02:09 +00:00
|
|
|
<div class="card bg-body shadow">
|
2021-01-18 15:54:57 +00:00
|
|
|
<div class="card-header text-center">
|
|
|
|
<h5>{% trans "Ranking" %}</h5>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<ul>
|
|
|
|
{% for participation, note in notes %}
|
2024-04-07 09:40:58 +00:00
|
|
|
<li>
|
|
|
|
<strong>{{ participation.team }} :</strong> {{ note|floatformat }}
|
2024-05-20 14:06:40 +00:00
|
|
|
{% if available_notes_2 or user.registration.is_volunteer %}
|
2024-04-16 22:43:42 +00:00
|
|
|
{% if not tournament.final and participation.mention %}
|
|
|
|
— {{ participation.mention }}
|
|
|
|
{% endif %}
|
|
|
|
{% if tournament.final and participation.mention_final %}
|
|
|
|
— {{ participation.mention_final }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2024-05-20 14:06:40 +00:00
|
|
|
{% if participation.final and not tournament.final %}
|
2024-04-07 10:09:31 +00:00
|
|
|
<span class="badge badge-sm text-bg-warning">
|
2024-04-07 09:40:58 +00:00
|
|
|
<i class="fas fa-medal"></i>
|
|
|
|
{% trans "Selected for final tournament" %}
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
|
|
|
|
{% if team_selectable_for_final == participation %}
|
|
|
|
<a href="{% url 'participation:select_team_final' pk=tournament.pk participation_id=participation.pk %}"
|
2024-04-07 10:09:31 +00:00
|
|
|
class="badge badge-sm text-bg-success">
|
2024-04-07 09:40:58 +00:00
|
|
|
<i class="fas fa-medal"></i>
|
|
|
|
{% trans "Select for final tournament" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
2021-01-18 15:54:57 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2024-03-30 19:38:13 +00:00
|
|
|
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
|
|
|
|
<div class="card-footer text-center">
|
|
|
|
<div class="btn-group">
|
|
|
|
<a href="{% url 'participation:tournament_harmonize' pk=tournament.pk round=1 %}" class="btn btn-secondary">
|
|
|
|
<i class="fas fa-ranking-star"></i>
|
|
|
|
{% trans "Harmonize" %} - {% trans "Day" %} 1
|
|
|
|
</a>
|
|
|
|
<a href="{% url 'participation:tournament_harmonize' pk=tournament.pk round=2 %}" class="btn btn-secondary">
|
|
|
|
<i class="fas fa-ranking-star"></i>
|
|
|
|
{% trans "Harmonize" %} - {% trans "Day" %} 2
|
|
|
|
</a>
|
2024-03-24 17:14:43 +00:00
|
|
|
</div>
|
2024-03-30 19:38:13 +00:00
|
|
|
</div>
|
2024-03-31 20:11:01 +00:00
|
|
|
<div class="card-footer text-center">
|
|
|
|
<div class="btn-group">
|
|
|
|
{% if not available_notes_1 %}
|
|
|
|
<a href="{% url 'participation:tournament_publish_notes' pk=tournament.pk round=1 %}" class="btn btn-sm btn-info">
|
|
|
|
<i class="fas fa-eye"></i>
|
|
|
|
{% trans "Publish notes for first round" %}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{% url 'participation:tournament_publish_notes' pk=tournament.pk round=1 %}?hide" class="btn btn-sm btn-danger">
|
|
|
|
<i class="fas fa-eye-slash"></i>
|
|
|
|
{% trans "Unpublish notes for first round" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if not available_notes_2 %}
|
|
|
|
<a href="{% url 'participation:tournament_publish_notes' pk=tournament.pk round=2 %}" class="btn btn-sm btn-info">
|
|
|
|
<i class="fas fa-eye"></i>
|
|
|
|
{% trans "Publish notes for second round" %}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{% url 'participation:tournament_publish_notes' pk=tournament.pk round=2 %}?hide" class="btn btn-sm btn-danger">
|
|
|
|
<i class="fas fa-eye-slash"></i>
|
|
|
|
{% trans "Unpublish notes for second round" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-24 17:14:43 +00:00
|
|
|
{% endif %}
|
2021-01-14 18:23:32 +00:00
|
|
|
</div>
|
2021-01-18 15:54:57 +00:00
|
|
|
{% endif %}
|
2021-01-14 18:23:32 +00:00
|
|
|
|
2024-03-26 22:55:29 +00:00
|
|
|
{% if user.registration.is_admin or user.registration in tournament.organizers.all %}
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<h3>{% trans "Files available for download" %}</h3>
|
|
|
|
|
|
|
|
<div class="alert alert-warning fade show files-to-download-collapse" id="files-to-download-popup">
|
|
|
|
<h4>IMPORTANT</h4>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Les fichiers accessibles ci-dessous peuvent contenir des informations personnelles.
|
|
|
|
Par conformité avec le droit européen et par respect de la confidentialité des données
|
|
|
|
des participant⋅es, vous ne devez utiliser ces données que dans un cadre strictement
|
|
|
|
nécessaire en lien avec l'organisation du tournoi.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
De plus, il est de votre responsabilité de supprimer ces fichiers une fois que vous
|
|
|
|
n'en avez plus besoin, notamment à la fin du tournoi.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p class="text-center">
|
|
|
|
<button class="btn btn-warning" data-bs-toggle="collapse" href=".files-to-download-collapse"
|
|
|
|
role="button" aria-expanded="false" aria-controls="files-to-download files-to-download-popup">
|
|
|
|
Je m'engage à ne pas divulguer les données des participant⋅es
|
|
|
|
et de les supprimer à l'issue du tournoi
|
|
|
|
</button>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card bg-body shadow fade collapse files-to-download-collapse" id="files-to-download">
|
|
|
|
<div class="card-body">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "participation:tournament_csv" pk=tournament.pk %}">
|
|
|
|
Tableur de données des participant⋅es des équipes validées
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "participation:tournament_csv" pk=tournament.pk %}?all">
|
|
|
|
Tableur de données des participant⋅es de toutes les équipes
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "participation:tournament_authorizations" tournament_id=tournament.id %}">
|
|
|
|
Archive de toutes les autorisations triées par équipe et par personne
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-03-26 23:49:32 +00:00
|
|
|
<a href="{% url "participation:tournament_solutions" tournament_id=tournament.id %}">
|
2024-03-26 22:55:29 +00:00
|
|
|
Archive de toutes les solutions envoyées triées par équipe
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-03-26 23:49:32 +00:00
|
|
|
<a href="{% url "participation:tournament_solutions" tournament_id=tournament.id %}?sort_by=problem">
|
2024-03-26 22:55:29 +00:00
|
|
|
Archive de toutes les solutions envoyées triées par problème
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-03-26 23:49:32 +00:00
|
|
|
<a href="{% url "participation:tournament_solutions" tournament_id=tournament.id %}?sort_by=pool">
|
|
|
|
Archive de toutes les solutions envoyées triées par poule
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{% url "participation:tournament_syntheses" tournament_id=tournament.id %}?sort_by=pool">
|
2024-03-26 22:55:29 +00:00
|
|
|
Archive de toutes les notes de synthèse triées par poule et par passage
|
|
|
|
</a>
|
|
|
|
</li>
|
2024-03-30 18:15:21 +00:00
|
|
|
<li>
|
|
|
|
<a href="https://docs.google.com/spreadsheets/d/{{ tournament.notes_sheet_id }}/edit">
|
|
|
|
<i class="fas fa-table"></i>
|
|
|
|
Tableur de notes sur Google Sheets
|
|
|
|
</a>
|
|
|
|
</li>
|
2024-03-26 22:55:29 +00:00
|
|
|
<li>
|
2024-03-29 17:59:37 +00:00
|
|
|
<a href="{% url "participation:tournament_notation_sheets" tournament_id=tournament.id %}">
|
|
|
|
Archive de toutes les feuilles de notes à imprimer triées par poule
|
2024-03-26 22:55:29 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-01-18 15:49:23 +00:00
|
|
|
{% endif %}
|
2021-01-13 16:00:50 +00:00
|
|
|
|
2021-01-01 11:11:09 +00:00
|
|
|
{% endblock %}
|