Fix footer on day schedule.

This commit is contained in:
Víðir Valberg Guðmundsson 2016-08-20 17:38:12 +02:00
parent ba49cb6170
commit 31ff22929f

View file

@ -3,10 +3,13 @@
{% block program_content %} {% block program_content %}
<h2>{{ date|date:"l, F jS" }}</h2> <h2>{{ date|date:"l, F jS" }}</h2>
{% for event in events %} {% for event in events %}
{% ifchanged event.event_type %} {% ifchanged event.event_type %}
{% if not forloop.first %}</div>{% endif %} {% if not forloop.first %}</div>{% endif %}
<h3>{{ event.event_type }}</h3> <h3>{{ event.event_type }}</h3>
<div style="display: flex; flex-wrap: wrap;"> <div style="display: flex; flex-wrap: wrap;">
{% endifchanged %} {% endifchanged %}
<a class="event" <a class="event"
@ -22,5 +25,6 @@
</a> </a>
{% endfor %} {% endfor %}
</div>
{% endblock program_content %} {% endblock program_content %}