templates/send_wsp_cnf.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 06 Aug 2010 14:24:50 +0530
branchanoop
changeset 217 69f9624b0129
parent 161 c7c5c727a483
permissions -rw-r--r--
Script to allot accommodation and send mails have been added.
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 %}
161
c7c5c727a483 removed old template and copied send_sgd_cnf as send_wsp_cnf since both are same and fixed a bug in view
nishanth
parents: 150
diff changeset
     3
Send Workshop Participation Confirmation
108
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>
161
c7c5c727a483 removed old template and copied send_sgd_cnf as send_wsp_cnf since both are same and fixed a bug in view
nishanth
parents: 150
diff changeset
    45
{% if m.registrantinfo_set.all.0.has_laptop_for_workshop %}
150
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    46
True
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    47
{% else %}
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    48
False
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    49
{% endif %}
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    50
</td>
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    51
</tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    52
{% endfor %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    53
</table>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    54
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    55
{% endblock %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    56