{% extends "aircox/page_list.html" %}
{% comment %}List of diffusions as a timetable{% endcomment %}
{% load i18n aircox humanize %}

{% block title %}
{% if not page or not page.title %}
{% with station.name as station %}
{% blocktranslate %}This week on {{ station }}{% endblocktranslate %}
{% endwith %}
{% else %}
{{ block.super }}
{% endif %}
{% endblock %}

{% block subtitle %}{{ date|date:"l d F Y" }}{% endblock %}

{% block secondary-nav %}
<nav class="nav secondary">
    {% include "./widgets/dates_menu.html" with url_name="diffusion-list" %}
</nav>
{% endblock %}

{% block pages_list %}
{% with hide_schedule=True %}
<section role="list" class="list">
    {% for object in object_list %}
    {% page_widget "item" object.episode diffusion=object timetable=True %}
    {% endfor %}
</section>
{% endwith %}
{% endblock %}
