Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (19 sloc) 0.756 kb
{% extends 'base.html' %}
{% block content %}
{% include 'nav_menu.html' %}
<div id="primary">
<h3>Pending Events</h3>
{% regroup events by start_date as grouped_events %}
{% for events in grouped_events %}
{% ifchanged events.grouper|date:"F" %}
<h3>{{events.grouper|date:"F Y" }}</h3>
{% endifchanged %}
<h4>{% ifequal events.grouper today.date %}<span style="text-decoration:underline;">Today</span> - {% endifequal %}{% ifequal events.grouper tomorrow.date %}<span style="text-decoration:underline;">Tomorrow</span> - {% endifequal %}{{events.grouper|date:"l, F j"}}</h4>
<table>
{% for event in events.list %}
{% include 'list_event.html' %}
{% endfor %}
</table>
{% endfor %}
</div>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.