{% extends "emissions.html" %} {% load paniktags i18n %} {% block bodyID %}Grid{% endblock %} {% block title %}{% trans 'Grid' %}{% endblock %} {% block toptitle %}

{% trans 'Program' %}

{% endblock %} {% block nav %} {% emission_nav with klass="grid" %} {% endblock %} {% block main %}
{% for weekday in weekdays %} {% endfor %} {% for time_header, time_cells in times|zip:grid %} {% for cell in time_cells %} {% endfor %} {% endfor %}

{{ weekday }}
{{ time_header }} 1 %}colspan="{{cell.w}}"{% endif %} {% if cell.h > 1 %}rowspan="{{cell.h}}"{% endif %}> {% if cell.time_label %}
{{ cell.time_label }}
{% endif %} {% if cell.schedules %} {% for schedule in cell.schedules %} {% if forloop.first == False and cell.schedules|length > 1 %}
{% endif %}
{{ schedule.emission.title }}
{% if schedule.weeks_string or schedule.time_label %} {% spaceless %} ( {% if schedule.time_label %} {{ schedule.time_label }} {% if schedule.weeks_string %}, {% endif %} {% endif %} {% if schedule.weeks_string %} {{ schedule.weeks_string }} {% endif %} {% if schedule.time_label_extra %} {{ schedule.time_label_extra }} {% endif %} ) {% endspaceless %} {% endif %}
{% endfor %} {% else %} {% if cell.w > 1 and cell.h > 1%}

la musique en continu

{% endif %} {% endif %}
{{ time_header }}
{% endblock %} {% block news %} {% endblock %}