{% extends "agenda_culturel/page-admin.html" %}

{% load utils_extra %}
{% block title %}{% block og_title %}Activité récente{% endblock %}{% endblock %}

{% load cat_extra %}
{% block entete_header %}
    {% css_categories %}
{% endblock %}

{% block sidemenu-bouton %}
    <li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
    <li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
{% endblock %}


{% block content %}
<div class="grid two-columns">
<article id="contenu-principal">
    <header>
        <h1>Activité récente</h1>
    </header>

    <article>
        <h2>Activité des {{ daily_modifications|length }} derniers jours</h2>
        {% include "agenda_culturel/recent-activity-inc.html" with modifications=daily_modifications %}
    </article>

    <article>
        <h2>Activité des semaines précédentes</h2>
        {% include "agenda_culturel/recent-activity-inc.html" with modifications=weekly_modifications %}
    </article>

</article>

{% include "agenda_culturel/side-nav.html" with current="activite" %}
</div>

{% endblock %}