templates/list_events.html
author nishanth
Fri, 23 Apr 2010 16:35:42 +0530
changeset 98 1af134a1e53d
parent 75 bda9ee536063
permissions -rw-r--r--
now an email will be sent to user after he resets his password.

{% extends "base.html" %}
{% block content %}
	{% if ongoing_events %}
		Ongoing Workshops:
		<table cellspacing=5 cellpadding=5>
		{% for event in ongoing_events %}
			<tr>
				<td  align="center"><a href="/workshop/registration/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
			</tr>
		{% endfor %}
		</table>
	{% endif %}
	
	{% if upcoming_events %}
		Upcoming Workshops:
		<table cellspacing=5 cellpadding=5>
		{% for event in upcoming_events %}
			<tr>
				<td  align="center"><a href="/workshop/registration/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
			</tr>
		{% endfor %}
		</table>
	{% endif %}
	
	<br />
	
	{% if previous_events %}
		Previous Workshops:
		<table cellspacing=5 cellpadding=5>
		{% for event in previous_events %}
			<tr>
				<td  align="center"><a href="/workshop/registration/event/view/{{event.key}}">{{event.title}} at {{event.venue}}</a></td>
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
			</tr>
		{% endfor %}
		</table>
	{% endif %}

{% endblock %}