author | nishanth |
Tue, 29 Jun 2010 16:12:29 +0530 | |
changeset 103 | ee9261c5ba18 |
parent 91 | d5ae97aaa24d |
permissions | -rw-r--r-- |
19 | 1 |
{% extends "base.html" %} |
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 /> |
103 | 4 |
<table cellspacing=4 cellpadding=3> |
19 | 5 |
<tr> |
103 | 6 |
<td>S.No</td> |
19 | 7 |
<td>Name</td> |
8 |
<td>Gender</td> |
|
9 |
<td>Profession</td> |
|
10 |
<td>College/Company</td> |
|
11 |
<td>Interests</td> |
|
12 |
</tr> |
|
13 |
{% for a_user in attendees %} |
|
14 |
<tr> |
|
103 | 15 |
<td>{{forloop.counter}}</td> |
19 | 16 |
<td>{{a_user.get_full_name}}</td> |
91 | 17 |
<td>{% ifequal a_user.get_profile.gender "M" %}Male{% else %}Female{%endifequal%}</td> |
19 | 18 |
<td>{% ifequal a_user.get_profile.profession "S" %} |
19 |
Student |
|
20 |
{% else %} |
|
21 |
{% ifequal a_user.get_profile.profession "F" %} |
|
22 |
Faculty |
|
23 |
{% else %} |
|
24 |
Professional |
|
25 |
{% endifequal %} |
|
26 |
{% endifequal %} |
|
27 |
</td> |
|
89 | 28 |
<td>{{a_user.get_profile.affiliated_to}}</td> |
19 | 29 |
<td>{{a_user.get_profile.interests}}</td> |
30 |
</tr> |
|
31 |
{% endfor %} |
|
32 |
</table> |
|
33 |
{% endblock %} |