now list attendees shows Male/Female instead of M/F
authornishanth
Fri, 16 Apr 2010 17:55:16 +0530
changeset 90 d18d31b07553
parent 89 9ab7fca05f38
child 91 d5ae97aaa24d
now list attendees shows Male/Female instead of M/F
templates/list_attendees.html
--- a/templates/list_attendees.html	Fri Apr 16 17:53:04 2010 +0530
+++ b/templates/list_attendees.html	Fri Apr 16 17:55:16 2010 +0530
@@ -12,7 +12,7 @@
 	{% 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.gender "M" %}Male{% else %}Female{%endif%}</td>
 			<td>{% ifequal a_user.get_profile.profession "S" %}
 				Student
 				{% else %}