| author | nishanth |
| Sat, 17 Jul 2010 00:26:16 +0530 | |
| branch | anoop |
| changeset 118 | 6c3602582f9f |
| parent 116 | 54ced1b9e010 |
| child 146 | a18ba6b30c43 |
| 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> |
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
7 |
Not Selected ppl: <br > |
|
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 /> |
|
116
54ced1b9e010
fixed a typo and added new template for confirmation of sending mail to selected participants
nishanth
parents:
108
diff
changeset
|
20 |
Selected but not Confirmed Ppl: <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> |
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
35 |
|
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
36 |
Attending Ppl: <br /> |
|
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>
|
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
44 |
</tr> |
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
45 |
{% endfor %}
|
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
46 |
</table> |
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
47 |
|
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
48 |
{% endblock %}
|
|
9363e5121f9b
added the GET part of view for sending event confirmation emails
nishanth
parents:
diff
changeset
|
49 |