templates/send_acco_cnf.html
author anoop
Wed, 04 Aug 2010 12:37:43 +0530
branchanoop
changeset 209 4bcf2a589038
parent 198 bafcc5b5523e
child 216 34512198cad4
permissions -rw-r--r--
updated schedule.

{% extends 'base.html' %}
{% block title %}
Send Accomodation Confirmation
{% endblock %}
{% block content %}
<br />
<form action="" method=post><form action="" method=post>
Dear so and so,<br />
<br/>
Your request for accomodation during Sage Days 25, India has been approved.
<br />
message:<br />
<textarea name="message" rows=15 cols=120></textarea>

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.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>
<br />

Rejected Ppl: {{rejected.count}}<br />
<table cellspacing=2 cellpadding=2>
{% for m in rejected %}
<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.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>

<input type=submit value="Send confirmation email"  />
</form>
<br /><br />
Selected Ppl: {{selected_confirmed.count}}<br />
<table cellspacing=2 cellpadding=2>
{% for m in selected %}
<tr>
<td> {{m}} </td>
<td> {{m.gender}} </td>
<td> {{m.profession}}</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 %}