templates/list_events.html
changeset 19 115860e87238
parent 18 7dae32a2439b
child 38 b63b78017225
equal deleted inserted replaced
18:7dae32a2439b 19:115860e87238
     3 	{% if ongoing_events %}
     3 	{% if ongoing_events %}
     4 		Ongoing Workshops:
     4 		Ongoing Workshops:
     5 		<table cellspacing=5 cellpadding=5>
     5 		<table cellspacing=5 cellpadding=5>
     6 		{% for event in ongoing_events %}
     6 		{% for event in ongoing_events %}
     7 			<tr>
     7 			<tr>
     8 				<td><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
     8 				<td  align="center"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
     9 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
     9 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
    10 			</tr>
    10 			</tr>
    11 		{% endfor %}
    11 		{% endfor %}
    12 		</table>
    12 		</table>
    13 	{% endif %}
    13 	{% endif %}
    15 	{% if upcoming_events %}
    15 	{% if upcoming_events %}
    16 		Upcoming Workshops:
    16 		Upcoming Workshops:
    17 		<table cellspacing=5 cellpadding=5>
    17 		<table cellspacing=5 cellpadding=5>
    18 		{% for event in upcoming_events %}
    18 		{% for event in upcoming_events %}
    19 			<tr>
    19 			<tr>
    20 				<td><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
    20 				<td  align="center"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
    21 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
    21 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
    22 			</tr>
    22 			</tr>
    23 		{% endfor %}
    23 		{% endfor %}
    24 		</table>
    24 		</table>
    25 	{% endif %}
    25 	{% endif %}
    29 	{% if previous_events %}
    29 	{% if previous_events %}
    30 		Previous Workshops:
    30 		Previous Workshops:
    31 		<table cellspacing=5 cellpadding=5>
    31 		<table cellspacing=5 cellpadding=5>
    32 		{% for event in previous_events %}
    32 		{% for event in previous_events %}
    33 			<tr>
    33 			<tr>
    34 				<td><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
    34 				<td  align="center"><a href="/reg/event/view/{{event.key}}">{{event.title}}</a></td>
    35 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
    35 				<td>{{event.start_date|date:"d M Y"}} - {{event.stop_date|date:"d M Y"}}</td>
    36 			</tr>
    36 			</tr>
    37 		{% endfor %}
    37 		{% endfor %}
    38 		</table>
    38 		</table>
    39 	{% endif %}
    39 	{% endif %}