<nav class="margin10">

    <a href="{% url 'tournament-info' tournament.id %}" class="topmargin5 orange">Informations</a>

    {% if tournament.display_matches and tournament.has_bracket %}
    <a href="{% url 'tournament-bracket' tournament.id %}" class="topmargin5 orange">Tableau</a>
    {% endif %}

    {% if tournament.display_matches or tournament.display_group_stages %}
    <a href="{% url 'tournament' tournament.id %}" class="topmargin5 orange">Matches</a>
    {% endif %}

    {% if tournament.display_group_stages %}
    <a href="{% url 'group-stages' tournament.id %}" class="topmargin5 orange">Poules</a>
    {% endif %}

    {% if tournament.display_summons %}
    <a href="{% url 'tournament-summons' tournament.id %}" class="topmargin5  orange">Convocations</a>
    {% endif %}

    {% if tournament.display_teams %}
    <a href="{% url 'tournament-teams' tournament.id %}" class="topmargin5  orange">Équipes</a>
    {% endif %}

    {% if tournament.display_rankings %}
    <a href="{% url 'tournament-rankings' tournament.id %}" class="topmargin5  orange">Classement</a>
    {% endif %}

    {% if user.is_authenticated %}
        <a href="{% url 'profile' %}" class="topmargin5">Mon compte</a>
    {% else %}
        <a href="{% url 'login' %}" class="topmargin5">Se connecter</a>
    {% endif %}
</nav>
