summaryrefslogtreecommitdiff
path: root/project/templates/registration/regstats.html
blob: 36d43b562f62894305f505788addde0af87493f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{% 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 %}
 {% for acco_m in acco_male %}
  <tr>
   <td>Accommodation on {{ forloop.counter|add:"11" }}(Male)</td>
   <td>{{ acco_m }}</td>
  </tr>
 {% endfor %}
 {% for acco_f in acco_female %}
  <tr>
   <td>Accommodation on {{ forloop.counter|add:"11" }}(Female)</td>
   <td>{{ acco_f }}</td>
  </tr>
 {% endfor %}
</table>

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

{% endblock content %}