{% extends "base.html" %} {% load url from future %} {% block title %}Yearly View {{ year }}{% endblock %} {% block main_content %}

Yearly View {{ year }}

{% if by_month %} {% for dt,occurrences in by_month %} {% for o in occurrences %} {% if not forloop.last %} {% endif %} {% endfor %} {% endfor %}
Month Title Day Start End
{{ dt|date:"F" }} {{ o.title }} {{ o.start_time|date:"M jS - l" }} {{ o.start_time|date:"P" }} {{ o.end_time|date:"P" }}
{% else %}

No events occurring in {{ year }}

{% endif %} {% endblock %}