diff -r 363d51e2cfa5 -r 34512198cad4 templates/send_acco_cnf.html --- a/templates/send_acco_cnf.html Fri Aug 06 14:24:00 2010 +0530 +++ b/templates/send_acco_cnf.html Fri Aug 06 14:24:22 2010 +0530 @@ -1,103 +1,197 @@ {% extends 'base.html' %} {% block title %} -Send Accomodation Confirmation + Send Accomodation Confirmation {% endblock %} {% block content %}
-Dear so and so,
-
-Your request for accomodation during Sage Days 25, India has been approved. -
-message:
- + Dear so and so,

+ Your request for accomodation during Sage Days 25, India has been approved. +
+ message:
+
+ + Not Selected people: {{not_selected.count}}
+ + + + + + + + + + + + + -Not Selected ppl: {{not_selected.count}}
-
SelectNameSexProfessionOrganizationLaptopWill sprintAlready sprintedAllotment
-{% for m in not_selected %} - - - - - - - - - - -{% endfor %} + {% for m in not_selected %} + + + + + + + + + + + + {% endfor %}
{{m}} {{m.gender}} {{m.profession}} {{m.affiliated_to}} -{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %} -True -{% else %} -False -{% endif %} - {{m.participantinfo_set.all.0.will_sprint}} -{% if m.participantinfo_set.all.0.sprinted_already %} -True -{% else %} -False -{% endif %} -
+ + {{m}}{{m.gender}}{{m.profession}}{{m.affiliated_to}} + {% if m.participantinfo_set.get.has_laptop_for_sagedays %} + Yes + {% else %} + No + {% endif %} + + {% if m.participantinfo_set.get.will_sprint == '1' %} + No + {% else %}{% if m.participantinfo_set.get.will_sprint == '2' %} + May be + {% else %} + Yes + {% endif %}{% endif %} + + {% if m.participantinfo_set.get.sprinted_already %} + Yes + {% else %} + No + {% endif %} + + {% if m.registrantinfo_set.get.acco_location == '0' %} + IITB Hostel + {% else %}{% if m.registrantinfo_set.get.acco_location == '1' %} + IITB Guest House + {% else %}{% if m.registrantinfo_set.get.acco_location == '2' %} + NITIE + {% else %} + Not alloted + {% endif %}{% endif %}{% endif %} +

-Rejected Ppl: {{rejected.count}}
+Rejected People: {{rejected.count}}
-{% for m in rejected %} - - - - - - - - - - -{% endfor %} + + + + + + + + + + + {% for m in rejected %} + + + + + + + + + + + + {% endfor %}
{{m}} {{m.gender}} {{m.profession}} {{m.affiliated_to}} -{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %} -True -{% else %} -False -{% endif %} - {{m.participantinfo_set.all.0.will_sprint}} -{% if m.participantinfo_set.all.0.sprinted_already %} -True -{% else %} -False -{% endif %} -
NameSexProfessionOrganizationLaptopWill sprintAlready sprintedAllotment
+ + {{m}}{{m.gender}}{{m.profession}}{{m.affiliated_to}} + {% if m.participantinfo_set.get.has_laptop_for_sagedays %} + Yes + {% else %} + No + {% endif %} + + {% if m.participantinfo_set.get.will_sprint == '1' %} + No + {% else %}{% if m.participantinfo_set.get.will_sprint == '2' %} + May be + {% else %} + Yes + {% endif %}{% endif %} + + {% if m.participantinfo_set.get.sprinted_already %} + Yes + {% else %} + No + {% endif %} + + {% if m.registrantinfo_set.get.acco_location == '0' %} + IITB Hostel + {% else %}{% if m.registrantinfo_set.get.acco_location == '1' %} + IITB Guest House + {% else %}{% if m.registrantinfo_set.get.acco_location == '2' %} + NITIE + {% else %} + Not alloted + {% endif %}{% endif %}{% endif %} +


-Selected Ppl: {{selected_confirmed.count}}
+Selected People: {{selected_confirmed.count}}
-{% for m in selected %} - - - - - - - - - -{% endfor %} + + + + + + + + + + + {% for m in selected %} + + + + + + + + + + + {% endfor %}
{{m}} {{m.gender}} {{m.profession}} {{m.affiliated_to}} -{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %} -True -{% else %} -False -{% endif %} - {{m.participantinfo_set.all.0.will_sprint}} -{% if m.participantinfo_set.all.0.sprinted_already %} -True -{% else %} -False -{% endif %} -
NameSexProfessionOrganizationLaptopWill sprintAlready sprintedAllotment
{{m}}{{m.gender}}{{m.profession}}{{m.affiliated_to}} + {% if m.participantinfo_set.get.has_laptop_for_sagedays %} + Yes + {% else %} + No + {% endif %} + + {% if m.participantinfo_set.get.will_sprint == '1' %} + No + {% else %}{% if m.participantinfo_set.get.will_sprint == '2' %} + May be + {% else %} + Yes + {% endif %}{% endif %} + + {% if m.participantinfo_set.get.sprinted_already %} + Yes + {% else %} + No + {% endif %} + + {% if m.registrantinfo_set.get.acco_location == '0' %} + IITB Hostel + {% else %}{% if m.registrantinfo_set.get.acco_location == '1' %} + IITB Guest House + {% else %}{% if m.registrantinfo_set.get.acco_location == '2' %} + NITIE + {% else %} + Not alloted + {% endif %}{% endif %}{% endif %} +
{% endblock %} -