include section name in schedule view

This commit is contained in:
Luke Hatcher 2013-01-27 04:48:21 -05:00
parent 1b57961061
commit daf145f987

View file

@ -26,7 +26,7 @@
{% for section in sections %} {% for section in sections %}
{% cache 600 "schedule-table" section.schedule.section %} {% cache 600 "schedule-table" section.schedule.section %}
{% for timetable in section.days %} {% for timetable in section.days %}
<h3>{{ timetable.day.date }}</h3> <h3>{{ section.schedule.section.name }} — {{ timetable.day.date }}</h3>
{% include "schedule/_grid.html" %} {% include "schedule/_grid.html" %}
{% endfor %} {% endfor %}
{% endcache %} {% endcache %}