templates/send_sgd_cnf.html
author nishanth
Fri, 03 Sep 2010 16:37:03 +0530
branchanoop
changeset 245 30053a24a92a
parent 231 97290cc22eb5
permissions -rw-r--r--
updated the template

{% extends 'base.html' %}
{% block title %}
Send Event Participation Confirmation
{% endblock %}
{% block content %}
<form action="" method=post>
Not Selected ppl: {{not_selected.count}}<br >
<table cellspacing=2 cellpadding=2>
{% for m in not_selected %}
<tr>
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</td>
<td> {{m.t_shirt_size}}</td>
<td> {{m.affiliated_to}} </td>
</tr>
{% endfor %}
</table>
<br />
Selected but not Confirmed Ppl: {{not_confirmed.count}}<br />
<table cellspacing=2 cellpadding=2>
{% for m in not_confirmed %}
<tr>
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</td>
<td> {{m.t_shirt_size}}</td>
<td> {{m.affiliated_to}} </td>
</tr>
{% endfor %}
</table>

<input type=submit value="Send confirmation email"  />
</form>
<br /><br />
Attending Ppl: {{attending.count}}<br />
<table cellspacing=2 cellpadding=2>
{% for m in attending %}
<tr>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</td>
<td> {{m.t_shirt_size}}</td>
<td> {{m.affiliated_to}} </td>
<td>
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
True
{% else %}
False
{% endif %}
</td>
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
<td>
{% if m.participantinfo_set.all.0.sprinted_already %}
True
{% else %}
False
{% endif %}
</td>
</tr>
{% endfor %}
</table>

{% endblock %}