templates/send_acco_cnf.html
author anoop
Wed, 04 Aug 2010 12:37:43 +0530
branchanoop
changeset 209 4bcf2a589038
parent 198 bafcc5b5523e
child 216 34512198cad4
permissions -rw-r--r--
updated schedule.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     2
{% block title %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     3
Send Accomodation Confirmation
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     4
{% endblock %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
     5
{% block content %}
177
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     6
<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     7
<form action="" method=post><form action="" method=post>
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     8
Dear so and so,<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
     9
<br/>
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    10
Your request for accomodation during Sage Days 25, India has been approved.
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    11
<br />
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    12
message:<br />
178
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 177
diff changeset
    13
<textarea name="message" rows=15 cols=120></textarea>
177
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    14
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    15
Not Selected ppl: {{not_selected.count}}<br >
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    16
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    17
{% for m in not_selected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    18
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    19
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    20
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    21
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    22
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    23
<td> {{m.affiliated_to}} </td>
198
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    24
<td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    25
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    26
True
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    27
{% else %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    28
False
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    29
{% endif %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    30
</td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    31
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    32
<td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    33
{% if m.participantinfo_set.all.0.sprinted_already %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    34
True
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    35
{% else %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    36
False
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    37
{% endif %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    38
</td>
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    39
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    40
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    41
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    42
<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    43
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    44
Rejected Ppl: {{rejected.count}}<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    45
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    46
{% for m in rejected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    47
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    48
<td> <input type="checkbox" name="selected_users" value="{{m.id}}" id="id_selected_users_0" /> </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    49
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    50
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    51
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    52
<td> {{m.affiliated_to}} </td>
198
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    53
<td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    54
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    55
True
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    56
{% else %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    57
False
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    58
{% endif %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    59
</td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    60
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    61
<td>
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    62
{% if m.participantinfo_set.all.0.sprinted_already %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    63
True
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    64
{% else %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    65
False
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    66
{% endif %}
bafcc5b5523e last commit was not full, made changes to send accommodation confirmation.
anoop
parents: 197
diff changeset
    67
</td>
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    68
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    69
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    70
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    71
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    72
<input type=submit value="Send confirmation email"  />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    73
</form>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    74
<br /><br />
176
faa42e8fa399 renamed a few variables in view and made corresponding changes in template
nishanth
parents: 153
diff changeset
    75
Selected Ppl: {{selected_confirmed.count}}<br />
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    76
<table cellspacing=2 cellpadding=2>
176
faa42e8fa399 renamed a few variables in view and made corresponding changes in template
nishanth
parents: 153
diff changeset
    77
{% for m in selected %}
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    78
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    79
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    80
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    81
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    82
<td> {{m.affiliated_to}} </td>
197
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    83
<td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    84
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    85
True
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    86
{% else %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    87
False
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    88
{% endif %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    89
</td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    90
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    91
<td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    92
{% if m.participantinfo_set.all.0.sprinted_already %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    93
True
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    94
{% else %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    95
False
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    96
{% endif %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    97
</td>
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    98
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    99
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   100
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   101
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   102
{% endblock %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   103