project/templates/registration/regstats.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 09 Dec 2010 20:04:51 +0530
changeset 352 781d7bc60cc9
parent 351 defd9ea5f143
child 354 5fb620cdacf2
permissions -rw-r--r--
Update male and female status and html page rendering for accommodation.

{% extends "base.html" %}

{% block title %}Registration Statistics - {% endblock %}

{% block content %}
<h1>Registration Statistics</h1>

<table class="scipycon-default-border">
<tr>
 <th>Event</th>
 <th>Number of people registered</th>
</tr>
<tr>
 <td>Conference</td>
 <td>{{ conf_num }}</td>
</tr>
<tr>
 <td>Tutorials</td>
 <td>{{ tut_num }}</td>
</tr>
<tr>
 <td>Sprint</td>
 <td>{{ sprint_num }}</td>
</tr>
<tr>
 <td>Male participants requesting accommodation</td>
 <td>{{ male }}</td>
</tr>
<tr>
 <td>Female participants requesting accommodation</td>
 <td>{{ female }}</td>
</tr>
{% for acco in acco_days %}
  <tr>
   <td>Accommodation requested on {{ forloop.counter|add:"11" }}th night</td>
   <td>{{ acco.total }} (Male: {{ acco.male }} Female: {{ acco.female }})</td>
  </tr>
 {% endfor %}
</table>

<br/><br/><br/>
<strong>To download CSV
<a href="{% url scipycon_regstats_download params.scope %}">here</a></strong>

{% endblock content %}