project/templates/registration/regstats.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 09 Dec 2010 19:34:39 +0530
changeset 349 4a07363689b5
parent 348 88cb9f42880c
child 350 baf939071b60
permissions -rw-r--r--
Fix download PDF to download CSV and double quote all the names.

{% 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 on {{ forloop.counter|add:"11" }}</td>
   <td>{{ acco }}</td>
  </tr>
 {% endfor %}
</table>

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

{% endblock content %}