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

{% trans "Team" %} {{ team.name }}

{% trans 'name'|capfirst %}
{{ team.name }}
{% trans 'trigram'|capfirst %}
{{ team.trigram }}
{% trans 'access code'|capfirst %}
{{ team.access_code }}
{% trans 'tournament'|capfirst %}
{{ team.tournament }}
{% trans 'coachs'|capfirst %}
{% autoescape off %}{{ team.linked_coaches|join:", " }}{% endautoescape %}
{% trans 'participants'|capfirst %}
{% autoescape off %}{{ team.linked_participants|join:", " }}{% endautoescape %}
{% trans 'validation status'|capfirst %}
{{ team.get_validation_status_display }}
{% if user.is_authenticated and user.admin %}
{% trans "Send a mail to people in this team" %}
{% endif %} {% if user.admin or user in team.tournament.organizers.all or team == user.team %} {% endif %}
{% if user.participates and team.invalid %}
{% if team.can_validate %}
{% csrf_token %}
Attention ! Une fois votre équipe validée, vous ne pourrez plus modifier le nom de l'équipe, le trigramme ou la composition de l'équipe.
{% else %}
Pour demander à valider votre équipe, vous devez avoir au moins un encadrant, quatre participants et soumis une autorisation de droit à l'image, une fiche sanitaire et une autorisation parentale (si besoin) par participant, ainsi qu'une lettre de motivation à transmettre aux organisateurs. Les encadrants doivent également fournir une autorisation de droit à l'image.
{% endif %}
En raison du changement de format du TFJM² 2020, il n'y a plus de document obligatoire à envoyer. Les autorisations précédemment envoyées ont été détruites. Seules les lettres de motivation ont été conservées, mais leur envoi n'est plus obligatoire.
{% endif %} {% if team.waiting %}
{% trans "The team is waiting about validation." %}
{% if user.admin %}
{% csrf_token %}
{% endif %} {% endif %}

{% trans "Documents" %}

{% if team.motivation_letters.count %}
{% blocktrans %}Motivation letter:{% endblocktrans %} {% trans "Download" %}
{% endif %} {% if team.solutions.count %}
{% csrf_token %}
{% endif %} {% endblock %}