templates/send_acco_cnf.html
author anoop
Fri, 30 Jul 2010 13:03:27 +0530
branchanoop
changeset 197 69186c3019e9
parent 178 f87248c912b4
child 198 bafcc5b5523e
permissions -rw-r--r--
added more fields in send accommodation template.
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>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    24
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    25
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    26
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    27
<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    28
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    29
Rejected Ppl: {{rejected.count}}<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    30
<table cellspacing=2 cellpadding=2>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    31
{% for m in rejected %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    32
<tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    33
<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
    34
<td> {{m}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    35
<td> {{m.gender}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    36
<td> {{m.profession}}</td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    37
<td> {{m.affiliated_to}} </td>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    38
</tr>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    39
{% endfor %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    40
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    41
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    42
<input type=submit value="Send confirmation email"  />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    43
</form>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    44
<br /><br />
176
faa42e8fa399 renamed a few variables in view and made corresponding changes in template
nishanth
parents: 153
diff changeset
    45
Selected Ppl: {{selected_confirmed.count}}<br />
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    46
<table cellspacing=2 cellpadding=2>
176
faa42e8fa399 renamed a few variables in view and made corresponding changes in template
nishanth
parents: 153
diff changeset
    47
{% for m in selected %}
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    48
<tr>
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>
197
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    53
<td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    54
{% if m.participantinfo_set.all.0.has_laptop_for_sagedays %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    55
True
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    56
{% else %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    57
False
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    58
{% endif %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    59
</td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    60
<td> {{m.participantinfo_set.all.0.will_sprint}}</td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    61
<td>
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    62
{% if m.participantinfo_set.all.0.sprinted_already %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    63
True
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    64
{% else %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    65
False
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
diff changeset
    66
{% endif %}
69186c3019e9 added more fields in send accommodation template.
anoop
parents: 178
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
{% endblock %}
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    73