| author | anoop |
| Fri, 30 Jul 2010 13:08:32 +0530 | |
| branch | anoop |
| changeset 198 | bafcc5b5523e |
| parent 197 | 69186c3019e9 |
| child 216 | 34512198cad4 |
| permissions | -rw-r--r-- |
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
1 |
{% extends 'base.html' %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
2 |
{% block title %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
3 |
Send Accomodation Confirmation |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
4 |
{% endblock %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
5 |
{% block content %}
|
| 177 | 6 |
<br /> |
7 |
<form action="" method=post><form action="" method=post> |
|
8 |
Dear so and so,<br /> |
|
9 |
<br/> |
|
10 |
Your request for accomodation during Sage Days 25, India has been approved. |
|
11 |
<br /> |
|
12 |
message:<br /> |
|
| 178 | 13 |
<textarea name="message" rows=15 cols=120></textarea> |
| 177 | 14 |
|
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
15 |
Not Selected ppl: {{not_selected.count}}<br >
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
16 |
<table cellspacing=2 cellpadding=2> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
17 |
{% for m in not_selected %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
18 |
<tr> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
19 |
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
20 |
<td> {{m}} </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
21 |
<td> {{m.gender}} </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
22 |
<td> {{m.profession}}</td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
23 |
<td> {{m.affiliated_to}} </td>
|
|
198
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
24 |
<td> |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
25 |
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
26 |
True |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
27 |
{% else %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
28 |
False |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
29 |
{% endif %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
30 |
</td> |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
31 |
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
32 |
<td> |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
33 |
{% if m.participantinfo_set.all.0.sprinted_already %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
34 |
True |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
35 |
{% else %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
36 |
False |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
37 |
{% endif %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
38 |
</td> |
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
39 |
</tr> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
40 |
{% endfor %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
41 |
</table> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
42 |
<br /> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
43 |
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
44 |
Rejected Ppl: {{rejected.count}}<br />
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
45 |
<table cellspacing=2 cellpadding=2> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
46 |
{% for m in rejected %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
47 |
<tr> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
48 |
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
49 |
<td> {{m}} </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
50 |
<td> {{m.gender}} </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
51 |
<td> {{m.profession}}</td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
52 |
<td> {{m.affiliated_to}} </td>
|
|
198
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
53 |
<td> |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
54 |
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
55 |
True |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
56 |
{% else %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
57 |
False |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
58 |
{% endif %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
59 |
</td> |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
60 |
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
61 |
<td> |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
62 |
{% if m.participantinfo_set.all.0.sprinted_already %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
63 |
True |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
64 |
{% else %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
65 |
False |
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
66 |
{% endif %}
|
|
bafcc5b5523e
last commit was not full, made changes to send accommodation confirmation.
anoop
parents:
197
diff
changeset
|
67 |
</td> |
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
68 |
</tr> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
69 |
{% endfor %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
70 |
</table> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
71 |
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
72 |
<input type=submit value="Send confirmation email" /> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
73 |
</form> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
74 |
<br /><br /> |
|
176
faa42e8fa399
renamed a few variables in view and made corresponding changes in template
nishanth
parents:
153
diff
changeset
|
75 |
Selected Ppl: {{selected_confirmed.count}}<br />
|
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
76 |
<table cellspacing=2 cellpadding=2> |
|
176
faa42e8fa399
renamed a few variables in view and made corresponding changes in template
nishanth
parents:
153
diff
changeset
|
77 |
{% for m in selected %}
|
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
78 |
<tr> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
79 |
<td> {{m}} </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
80 |
<td> {{m.gender}} </td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
81 |
<td> {{m.profession}}</td>
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
82 |
<td> {{m.affiliated_to}} </td>
|
| 197 | 83 |
<td> |
84 |
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
|
|
85 |
True |
|
86 |
{% else %}
|
|
87 |
False |
|
88 |
{% endif %}
|
|
89 |
</td> |
|
90 |
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
|
|
91 |
<td> |
|
92 |
{% if m.participantinfo_set.all.0.sprinted_already %}
|
|
93 |
True |
|
94 |
{% else %}
|
|
95 |
False |
|
96 |
{% endif %}
|
|
97 |
</td> |
|
|
153
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
98 |
</tr> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
99 |
{% endfor %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
100 |
</table> |
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
101 |
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
102 |
{% endblock %}
|
|
55f338569133
updated the view for GET part and created corresponding template
nishanth
parents:
diff
changeset
|
103 |