{% extends "aircox/page_detail.html" %}
{% comment %}Detail page of a show{% endcomment %}
{% load i18n aircox %}
{% include "aircox/program_sidebar.html" %}
{% block content %}
{{ block.super }}
{% if episodes %}
{% endif %}
{% if articles %}
{% endif %}
{% endblock %}
{% block sidebar %}
{% translate "Diffusions" %}
{% for schedule in program.schedule_set.all %}
{{ schedule.get_frequency_display }}
{% with schedule.start|date:"H:i" as start %}
{% with schedule.end|date:"H:i" as end %}
—
{% endwith %}
{% endwith %}
{% if schedule.initial %}
{% with schedule.initial.date as date %}
({% translate "Rerun" %})
{% endwith %}
{% endif %}
{% endfor %}
{{ block.super }}
{% endblock %}