{% extends 'django_bookdates/calendar.html' %} {% load bookdates %} {% block body %} {% for day in fourweeksfromdatedict %} {% if forloop.counter|divisibleby:7 %}{% endif %} {% endfor %}
-week {% with fourweeksfromdatedict|first as f %} {% with fourweeksfromdatedict|last as l %} {{ f.date.date }} - {{ l.date.date }} {% endwith %} {% endwith %} +week
Mon Tue Wed Thu Fri Sat Sun
{{ day.date.day }}. {{ day.date.month }}. {% if day.is_today %}(Today){% endif %} {% if day.timespans %} {% for timespan in day.timespans %}
{{ timespan.title | upper }}
{% endfor %} {% endif %}
{% if object_list %}

All upcoming timelots

{% for timespan in upcoming %} {% endfor %}
Date Title Body
{{ timespan.start | date:"D d M Y" }} - {{ timespan.end | date:"D d M Y" }} {{ timespan.title }} {{ timespan.body | truncatechars:32 }}
{% endif %} {% endblock %}