templates/send_sgd_cnf.html
author Anoop Jacob Thomas<anoop@fossee.in>
Tue, 09 Nov 2010 13:29:23 +0530
branchanoop
changeset 247 6fd2e9275805
parent 231 97290cc22eb5
permissions -rw-r--r--
changed custom invitation content.
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>
231
97290cc22eb5 changed the template for send_sgd_cnf.
anoop
parents: 150
diff changeset
    15
<td> {{m.t_shirt_size}}</td>
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    16
<td> {{m.affiliated_to}} </td>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    17
</tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    18
{% endfor %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    19
</table>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    20
<br />
146
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
    21
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
    22
<table cellspacing=2 cellpadding=2>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    23
{% for m in not_confirmed %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    24
<tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    25
<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
    26
<td> {{m}} </td>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    27
<td> {{m.gender}} </td>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    28
<td> {{m.profession}}</td>
231
97290cc22eb5 changed the template for send_sgd_cnf.
anoop
parents: 150
diff changeset
    29
<td> {{m.t_shirt_size}}</td>
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    30
<td> {{m.affiliated_to}} </td>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    31
</tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    32
{% endfor %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    33
</table>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    34
118
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 116
diff changeset
    35
<input type=submit value="Send confirmation email"  />
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    36
</form>
146
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
    37
<br /><br />
a18ba6b30c43 fixed a bug in views
nishanth
parents: 118
diff changeset
    38
Attending Ppl: {{attending.count}}<br />
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    39
<table cellspacing=2 cellpadding=2>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    40
{% for m in attending %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    41
<tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    42
<td> {{m}} </td>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    43
<td> {{m.gender}} </td>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    44
<td> {{m.profession}}</td>
231
97290cc22eb5 changed the template for send_sgd_cnf.
anoop
parents: 150
diff changeset
    45
<td> {{m.t_shirt_size}}</td>
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    46
<td> {{m.affiliated_to}} </td>
147
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    47
<td>
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    48
{% 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
    49
True
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    50
{% else %}
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    51
False
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    52
{% endif %}
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    53
</td>
76935f280a4d now selected participant laptop and sprint data is also displsyed
nishanth
parents: 146
diff changeset
    54
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
150
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    55
<td>
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    56
{% if m.participantinfo_set.all.0.sprinted_already %}
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    57
True
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    58
{% else %}
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    59
False
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    60
{% endif %}
c5afcbaab4e6 whether participant has sprinted is also shown now
nishanth
parents: 147
diff changeset
    61
</td>
108
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    62
</tr>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    63
{% endfor %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    64
</table>
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    65
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    66
{% endblock %}
9363e5121f9b added the GET part of view for sending event confirmation emails
nishanth
parents:
diff changeset
    67