Skip to content

Commit

Permalink
Adjust indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
William R. Ward committed Feb 1, 2011
1 parent d16c9da commit 5e20498
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/myevents.html
Expand Up @@ -2,18 +2,18 @@
{% block content %}

<div id="primary">
<h3>My Events</h3>
<a href="/" style="font-size: smaller; margin-top: -20px; display: block;">&larr; All Events</a>
<h3>My Events</h3>
<a href="/" style="font-size: smaller; margin-top: -20px; display: block;">&larr; All Events</a>

{% regroup events by start_date as grouped_events %}
{% for events in grouped_events %}
{% regroup events by start_date as grouped_events %}
{% for events in grouped_events %}
<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 %}
{% endfor %}

</div>

Expand Down

0 comments on commit 5e20498

Please sign in to comment.