author | Madhusudan.C.S <madhusudancs@gmail.com> |
Fri, 06 Aug 2010 14:22:50 +0530 | |
branch | anoop |
changeset 213 | ffe5ef840fde |
parent 150 | c5afcbaab4e6 |
child 231 | 97290cc22eb5 |
permissions | -rw-r--r-- |
108
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
1 |
{% extends 'base.html' %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
2 |
{% block title %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
3 |
Send Event Participation Confirmation |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
4 |
{% endblock %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
5 |
{% block content %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
6 |
<form action="" method=post> |
146 | 7 |
Not Selected ppl: {{not_selected.count}}<br > |
108
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
8 |
<table cellspacing=2 cellpadding=2> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
9 |
{% for m in not_selected %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
10 |
<tr> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
11 |
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
12 |
<td> {{m}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
13 |
<td> {{m.gender}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
14 |
<td> {{m.profession}}</td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
15 |
<td> {{m.affiliated_to}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
16 |
</tr> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
17 |
{% endfor %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
18 |
</table> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
19 |
<br /> |
146 | 20 |
Selected but not Confirmed Ppl: {{not_confirmed.count}}<br /> |
108
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
21 |
<table cellspacing=2 cellpadding=2> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
22 |
{% for m in not_confirmed %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
23 |
<tr> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
24 |
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
25 |
<td> {{m}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
26 |
<td> {{m.gender}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
27 |
<td> {{m.profession}}</td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
28 |
<td> {{m.affiliated_to}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
29 |
</tr> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
30 |
{% endfor %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
31 |
</table> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
32 |
|
118
6c3602582f9f
included the send_mail and created the corresponding event in events
nishanth
parents:
116
diff
changeset
|
33 |
<input type=submit value="Send confirmation email" /> |
108
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
34 |
</form> |
146 | 35 |
<br /><br /> |
36 |
Attending Ppl: {{attending.count}}<br /> |
|
108
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
37 |
<table cellspacing=2 cellpadding=2> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
38 |
{% for m in attending %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
39 |
<tr> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
40 |
<td> {{m}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
41 |
<td> {{m.gender}} </td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
42 |
<td> {{m.profession}}</td> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
43 |
<td> {{m.affiliated_to}} </td> |
147
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
44 |
<td> |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
45 |
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %} |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
46 |
True |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
47 |
{% else %} |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
48 |
False |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
49 |
{% endif %} |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
50 |
</td> |
76935f280a4d
now selected participant laptop and sprint data is also displsyed
nishanth
parents:
146
diff
changeset
|
51 |
<td> {{m.participantinfo_set.all.0.will_sprint}}</td> |
150
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
52 |
<td> |
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
53 |
{% if m.participantinfo_set.all.0.sprinted_already %} |
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
54 |
True |
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
55 |
{% else %} |
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
56 |
False |
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
57 |
{% endif %} |
c5afcbaab4e6
whether participant has sprinted is also shown now
nishanth
parents:
147
diff
changeset
|
58 |
</td> |
108
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
59 |
</tr> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
60 |
{% endfor %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
61 |
</table> |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
62 |
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
63 |
{% endblock %} |
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
64 |