templates/list_attendees.html
author nishanth
Fri, 16 Apr 2010 17:53:04 +0530
changeset 89 9ab7fca05f38
parent 88 24423b3db4b2
child 90 d18d31b07553
permissions -rw-r--r--
fixed another typo
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     1
{% extends "base.html" %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     2
{% block content %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 23
diff changeset
     3
	List of people registered for <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a><br /><br />
19
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     4
	<table cellspacing=5 cellpadding=5>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     5
	<tr>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     6
		<td>Name</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     7
		<td>Gender</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     8
		<td>Profession</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
     9
		<td>College/Company</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    10
		<td>Interests</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    11
	</tr>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    12
	{% for a_user in attendees %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    13
		<tr>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    14
			<td>{{a_user.get_full_name}}</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    15
			<td>{{a_user.get_profile.gender}}</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    16
			<td>{% ifequal a_user.get_profile.profession "S" %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    17
				Student
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    18
				{% else %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    19
					{% ifequal a_user.get_profile.profession "F" %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    20
						Faculty
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    21
					{% else %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    22
						Professional
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    23
					{% endifequal %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    24
				{% endifequal %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    25
			</td>
89
9ab7fca05f38 fixed another typo
nishanth
parents: 88
diff changeset
    26
			<td>{{a_user.get_profile.affiliated_to}}</td>
19
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    27
			<td>{{a_user.get_profile.interests}}</td>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    28
		</tr>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    29
	{% endfor %}
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    30
	</table>
115860e87238 implemented list people functionality .
nishanth
parents:
diff changeset
    31
{% endblock %}