the list_attendees page looks better now default tip
authornishanth
Tue, 29 Jun 2010 16:12:29 +0530
changeset 103 ee9261c5ba18
parent 102 f9466abf5ca2
the list_attendees page looks better now
templates/list_attendees.html
--- a/templates/list_attendees.html	Mon Apr 26 17:57:44 2010 +0530
+++ b/templates/list_attendees.html	Tue Jun 29 16:12:29 2010 +0530
@@ -1,8 +1,9 @@
 {% extends "base.html" %}
 {% block content %}
 	List of people registered for <a href="/workshop/registration/event/view/{{event.key}}">{{event.title}}</a><br /><br />
-	<table cellspacing=5 cellpadding=5>
+	<table cellspacing=4 cellpadding=3>
 	<tr>
+                <td>S.No</td>
 		<td>Name</td>
 		<td>Gender</td>
 		<td>Profession</td>
@@ -11,6 +12,7 @@
 	</tr>
 	{% for a_user in attendees %}
 		<tr>
+                        <td>{{forloop.counter}}</td>
 			<td>{{a_user.get_full_name}}</td>
 			<td>{% ifequal a_user.get_profile.gender "M" %}Male{% else %}Female{%endifequal%}</td>
 			<td>{% ifequal a_user.get_profile.profession "S" %}