{% extends 'base.html' %} {% load static %} {% block content %}

Calendrier général des Tournois

{% for ligue in list_ligue %}
{{ ligue.nom_ligue }}
{% for club in list_club %} {% if ligue.id == club.ligue_id %}
{{ club.short_name }}
{% endif %} {% endfor %}
{% endfor %}
{% for date in list_date %}
{{ date.tournoi_date|date:'d/m/Y' }}
{% for tourdejeu in list_tourdejeu %}
{% if tourdejeu.date|date:'Y-m-d' == date.tournoi_date|date:'Y-m-d' %} {% if tourdejeu.mode_jeu.id == 1 %}
{% else %}
Tour N° {{ tourdejeu.tour_nbr }}
{{ tourdejeu.mode_jeu }}
{{ tourdejeu.nbr_maxi_joueur }} joueurs
{% endif %} {% endif %}
{% endfor %}
{% endfor %} {% endblock content %}