{% extends "aircox/page.html" %} {% load i18n aircox %} {% block title %} {% trans "Logs" %} {% endblock %} {% block main %} {{ block.super }} {% if dates %} {% for day in dates %} {{ day|date:"d b" }} {% if forloop.last and day > min_date %} ... {% endif %} {% endfor %} {% endif %} {# {{ date }} #} {% with True as hide_schedule %} {% for object in object_list reversed %} {% if object|is_diffusion %} {{ object.start|date:"H:i" }} - {{ object.end|date:"H:i" }} {% with object as diffusion %} {% with diffusion.episode as object %} {% include "aircox/episode_item.html" %} {% endwith %} {% endwith %} {% else %} {{ object.date|date:"H:i" }} {% include "aircox/log_item.html" %} {% endif %} {% endfor %} {% endwith %} {% endblock %}