templates/send_sgd_cnf.html
author nishanth
Wed, 21 Jul 2010 12:51:25 +0530
branchanoop
changeset 149 1f53ccd82a21
parent 147 76935f280a4d
child 150 c5afcbaab4e6
permissions -rw-r--r--
included the send_cnf_email event in views but right now, it is commented
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
     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
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
    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
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
    35
<br /><br />
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
    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>
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    52
</tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    53
{% endfor %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    54
</table>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    55
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    56
{% endblock %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    57