{% extends "base.html" %}

{% block page_title %} - Agenda{% endblock %}

{% block content %}
<h2 class="mb-5">Agenda des prochaines prestations de la chorale</h2>

{% for item in object_list %}
    <div class="border-bottom border-danger mt-3{% if item.prive %} prive{% endif %}">
        <div class="row">
            <div class="col col-12 col-sm-4 col-lg-2 text-black rounded align-self-center text-center fw-bold pt-2 pb-2 date_agenda">
                {{ item.date_heure|date:'D d F à H:i' }}
            </div>
            <div class="col col-12 col-sm-8 col-lg-10 fs-4">{{ item.titre }}</div>
        </div>
        <div class="mt-2 mb-2">{{ item.lieu }}</div>
        {% if item.infos %}<div class="pb-3">{{ item.infos }}</div>{% endif %}
        {% if item.infos_internes %}<div class="infos_internes pb-3">{{ item.infos_internes }}</div>{% endif %}
    </div>
{% endfor %}
{% endblock %}
