{% extends 'tournaments/broadcast/broadcast_base.html' %}

{% load static %}

{% block head_title %}Broadcast{% endblock %}
{% block first_title %}{{ tournament.event.display_name }}{% endblock %}
{% block second_title %}Broadcast{% endblock %}

{% block sponsors %}
    {% if tournament.event.images.exists %}
    <div class="bubble-footer">
        <div class="bubble-sponsor">
            {% for image in tournament.event.images.all %}
                <img src="{{ image.image.url }}" alt="{{ image.title|default:'Sponsor' }}"
                    class="sponsor-logo-broadcast">
            {% endfor %}
        </div>
    </div>
    {% endif %}
{% endblock %}

{% block content %}

<div class="grid-x">
    <div class="cell medium-6 large-6 topblock padding10">
        <div class="bubble">
        <div><a href="{% url 'automatic-broadcast' tournament.id %}">Auto</a></div>
        <div><a href="{% url 'automatic-broadcast-event' tournament.event.id %}">Event Auto</a></div>
        <div><a href="{% url 'broadcasted-matches' tournament.id %}">Matchs</a></div>
        <div><a href="{% url 'broadcasted-group-stages' tournament.id %}">Poules</a></div>
        <div><a href="{% url 'broadcasted-summons' tournament.id %}">Convocations</a></div>
        <div><a href="{% url 'broadcasted-rankings' tournament.id %}">Classement</a></div>
        <div><a href="{% url 'broadcasted-planning' tournament.id %}">(beta) Planning</a></div>
        <div><a href="{% url 'broadcasted-bracket' tournament.id %}">(beta) Tableau</a></div>
        <div><a href="{% url 'club-broadcast-auto' tournament.event.club.broadcast_code %}">Club Auto</a></div>
    </div>

    </div>
</div>

{% endblock %}
