{% extends "aircox/page_list.html" %} {% comment %}Home page{% endcomment %} {% load i18n aircox %} {% block head_title %}{{ station.name }}{% endblock %} {% block content-container %} {% if next_diffs %}
{% for obj in next_diffs|slice:"1:4" %} {% if object != diffusion %} {% page_widget "card" obj.episode diffusion=obj timetable=True %} {% endif %} {% endfor %}
{% endif %} {% if object_list %}

{% with station.name as station %} {% blocktrans %} Today on {{ station }} {% endblocktrans %} {% endwith %}

{% for object in object_list %} {% page_widget "item" object.episode diffusion=object timetable=True open=True %} {% endfor %}
{% endif %} {% endblock %} {% block pages_list %}{% endblock %} {% block sidebar %}

{% translate "Previously on air" %}

{% with has_cover=False %} {% with logs as object_list %} {% include "aircox/widgets/log_list.html" %} {% endwith %} {% endwith %}

{% translate "Last publications" %}

{% with hide_schedule=True %} {% with has_headline=False %} {% for object in last_publications %} {% include object.item_template_name|default:'aircox/widgets/page_item.html' %} {% endfor %} {% endwith %} {% endwith %}
{% endblock %}