templates/list_events.html
author nishanth
Thu, 15 Apr 2010 11:57:42 +0530
changeset 38 b63b78017225
parent 19 115860e87238
child 59 01638380207c
permissions -rw-r--r--
added date tags in view event template and open_feedback template is now a lil better .

{% extends "base.html" %}
{% block content %}
	{% if ongoing_events %}
		Ongoing Workshops:
		<table cellspacing=5 cellpadding=5>
		{% for event in ongoing_events %}
			<tr>
				<td  align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</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="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</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="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
			</tr>
		{% endfor %}
		</table>
	{% endif %}

{% endblock %}