summaryrefslogtreecommitdiff
path: root/project/templates
diff options
context:
space:
mode:
authorMadhusudan.C.S2010-12-09 20:04:51 +0530
committerMadhusudan.C.S2010-12-09 20:04:51 +0530
commit5f2ec55cd1dc78a36198dac182e47a47d5c4e523 (patch)
tree7c7b02387f61cfeae6e6877573a64b7bdee5d79c /project/templates
parent4da53ce3aaa982eb1007646a0b50fdce7cd00cfc (diff)
downloadscipycon-5f2ec55cd1dc78a36198dac182e47a47d5c4e523.tar.gz
scipycon-5f2ec55cd1dc78a36198dac182e47a47d5c4e523.tar.bz2
scipycon-5f2ec55cd1dc78a36198dac182e47a47d5c4e523.zip
Update male and female status and html page rendering for accommodation.
Diffstat (limited to 'project/templates')
-rw-r--r--project/templates/registration/regstats.html16
1 files changed, 2 insertions, 14 deletions
diff --git a/project/templates/registration/regstats.html b/project/templates/registration/regstats.html
index 36d43b5..1e3a141 100644
--- a/project/templates/registration/regstats.html
+++ b/project/templates/registration/regstats.html
@@ -32,20 +32,8 @@
</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>
+ <td>Accommodation requested on {{ forloop.counter|add:"11" }}th night</td>
+ <td>{{ acco.total }} (Male: {{ acco.male }} Female: {{ acco.female }})</td>
</tr>
{% endfor %}
</table>