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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
253
09ec121a7ebf Add a - to the title of the header for Registration Statistics page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 195
diff changeset
     3
{% block title %}Registration Statistics - {% endblock %}
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
<h1>Registration Statistics</h1>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
<table class="scipycon-default-border">
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
 <th>Event</th>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
 <th>Number of people registered</th>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
</tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
 <td>Conference</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
 <td>{{ conf_num }}</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
</tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
 <td>Tutorials</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
 <td>{{ tut_num }}</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
</tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
 <td>Sprint</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
 <td>{{ sprint_num }}</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
</tr>
348
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    25
<tr>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    26
 <td>Male participants requesting accommodation</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    27
 <td>{{ male }}</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    28
</tr>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    29
<tr>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    30
 <td>Female participants requesting accommodation</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    31
 <td>{{ female }}</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    32
</tr>
342
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    33
{% for acco in acco_days %}
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    34
  <tr>
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    35
   <td>Accommodation on {{ forloop.counter|add:"11" }}</td>
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    36
   <td>{{ acco }}</td>
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    37
  </tr>
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    38
 {% endfor %}
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
</table>
342
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    40
344
47db5bd2a791 Make the Download line more visible for downloading CSV.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 342
diff changeset
    41
<br/><br/><br/>
349
4a07363689b5 Fix download PDF to download CSV and double quote all the names.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 348
diff changeset
    42
<strong>To download CSV
344
47db5bd2a791 Make the Download line more visible for downloading CSV.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 342
diff changeset
    43
<a href="{% url scipycon_regstats_download params.scope %}">here</a></strong>
342
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    44
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    45
{% endblock content %}