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

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

{% if tournament.display_rankings %}

{% block content %}

{% load static %}

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

    {% if rankings %}

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

            <div class="cell medium-6 large-6 my-block">
                <div class="bubble">
                    <label class="title">{{ tournament.ranking_count_display }}</label>

                    {% for ranking in rankings %}

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

                    {% endfor %}

                </div>
            </div>

        </div>

     {% endif %}

{% endblock %}
{% endif %}
