templates/list_attendees.html
author nishanth
Tue, 13 Apr 2010 14:20:57 +0530
changeset 23 42e2a810e1c8
parent 19 115860e87238
child 75 bda9ee536063
permissions -rw-r--r--
modified seed_db and view_event template .

{% extends "base.html" %}
{% block content %}
	List of people registered for <a href="/reg/event/view/{{event.key}}">{{event.title}}</a><br /><br />
	<table cellspacing=5 cellpadding=5>
	<tr>
		<td>Name</td>
		<td>Gender</td>
		<td>Profession</td>
		<td>College/Company</td>
		<td>Interests</td>
	</tr>
	{% for a_user in attendees %}
		<tr>
			<td>{{a_user.get_full_name}}</td>
			<td>{{a_user.get_profile.gender}}</td>
			<td>{% ifequal a_user.get_profile.profession "S" %}
				Student
				{% else %}
					{% ifequal a_user.get_profile.profession "F" %}
						Faculty
					{% else %}
						Professional
					{% endifequal %}
				{% endifequal %}
			</td>
			<td>{{a_user.get_profile.interests}}</td>
		</tr>
	{% endfor %}
	</table>
{% endblock %}