{% extends 'tournaments/base.html' %}

{% block head_title %}Convocations du {{ tournament.display_name }}{% endblock %}
{% block first_title %}{{ tournament.event.display_name }}{% endblock %}
{% block second_title %}{{ tournament.display_name }}{% endblock %}
{% block title_link %}{% url 'tournament' tournament.id %}{% endblock %}

{% block content %}

{% load static %}

{% if tournament.display_summons %}
    {% include 'tournaments/navigation_tournament.html' %}

    {% if team_summons %}

        <div class="grid-x padding-bottom">

            <div class="cell large-6 my-block">
                <div class="bubble">
                    {% if tournament.summon_count_display %}
                    <label class="title">{{ tournament.summon_count_display }}</label>
                    {% endif %}

                    {% for summon in team_summons %}

                    {% include 'tournaments/summon_row.html' %}

                    {% endfor %}

                </div>
            </div>

        </div>

     {% endif %}

{% endif %}
{% endblock %}
