{% 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 'tournament'|capfirst %}
{{ team.tournament }}
{% trans 'coachs'|capfirst %}
{{ team.encadrants.all|join:", " }}
{% trans 'participants'|capfirst %}
{{ team.participants.all|join:", " }}
{% if user.admin or user in team.tournament.organizers.all %} {% endif %}

{% trans "Documents" %}

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