templates/list_events.html
author nishanth
Thu, 15 Apr 2010 18:23:21 +0530
changeset 53 0a4b2c49f718
parent 38 b63b78017225
child 59 01638380207c
permissions -rw-r--r--
changed feedback model since we now take feedback only from logged in users .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     1
{% extends "base.html" %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     2
{% block content %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     3
	{% if ongoing_events %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     4
		Ongoing Workshops:
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     5
		<table cellspacing=5 cellpadding=5>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     6
		{% for event in ongoing_events %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     7
			<tr>
38
b63b78017225 added date tags in view event template and open_feedback template is now a lil better .
nishanth
parents: 19
diff changeset
     8
				<td  align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
     9
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    10
			</tr>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    11
		{% endfor %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    12
		</table>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    13
	{% endif %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    14
	
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    15
	{% if upcoming_events %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    16
		Upcoming Workshops:
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    17
		<table cellspacing=5 cellpadding=5>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    18
		{% for event in upcoming_events %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    19
			<tr>
38
b63b78017225 added date tags in view event template and open_feedback template is now a lil better .
nishanth
parents: 19
diff changeset
    20
				<td  align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    21
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    22
			</tr>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    23
		{% endfor %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    24
		</table>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    25
	{% endif %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    26
	
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    27
	<br />
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    28
	
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    29
	{% if previous_events %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    30
		Previous Workshops:
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    31
		<table cellspacing=5 cellpadding=5>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    32
		{% for event in previous_events %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    33
			<tr>
38
b63b78017225 added date tags in view event template and open_feedback template is now a lil better .
nishanth
parents: 19
diff changeset
    34
				<td  align="right"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    35
				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    36
			</tr>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    37
		{% endfor %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    38
		</table>
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    39
	{% endif %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    40
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    41
{% endblock %}
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
diff changeset
    42