templates/send_acco_cnf.html
author anoop
Sat, 07 Aug 2010 13:45:34 +0530
branchanoop
changeset 224 daa76f68f4fc
parent 221 b0fd3cb56e0b
permissions -rw-r--r--
updated venue.
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 %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
     3
  Send Accomodation Confirmation
153
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>
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
     8
  Dear so and so,<br /><br/>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
     9
  Your request for accomodation during Sage Days 25, India has been approved.
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    10
  <br />
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    11
  message:<br />
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    12
  <textarea name="message" rows=15 cols=95></textarea><br />
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    13
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    14
  Not Selected people: {{not_selected.count}}<br >
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    15
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    16
  <table cellspacing=2 cellpadding=2>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    17
  <tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    18
    <th>Select</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    19
    <th>Name</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    20
    <th>Sex</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    21
    <th>Profession</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    22
    <th>Organization</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    23
    <th>Laptop</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    24
    <th>Will sprint</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    25
    <th>Already sprinted</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    26
    <th>Allotment</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    27
  </tr>
177
bbcf2a7d8b6b included message field in the form in template
nishanth
parents: 176
diff changeset
    28
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    29
  {% for m in not_selected %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    30
    <tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    31
      <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    32
        <input type="checkbox" name="selected_users" value="{{m.id}}"
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    33
            id="id_selected_users_0" />
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    34
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    35
      <td>{{m}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    36
      <td>{{m.gender}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    37
      <td>{{m.profession}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    38
      <td>{{m.affiliated_to}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    39
      <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    40
        {% if m.participantinfo_set.get.has_laptop_for_sagedays %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    41
          Yes
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    42
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    43
          No
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    44
        {% endif %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    45
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    46
      <td>
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    47
        {% ifequal m.participantinfo_set.get.will_sprint '1' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    48
          No
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    49
        {% else %}{% ifequal m.participantinfo_set.get.will_sprint '2' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    50
          May be
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    51
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    52
          Yes
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    53
        {% endifequal %}{% endifequal %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    54
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    55
      <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    56
        {% if m.participantinfo_set.get.sprinted_already %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    57
          Yes
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    58
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    59
          No
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    60
        {% endif %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    61
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    62
      <td>
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    63
        {% ifequal m.registrantinfo_set.get.acco_location '0' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    64
          IITB Hostel
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    65
        {% else %}{% ifequal m.registrantinfo_set.get.acco_location '1' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    66
          IITB Guest House
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    67
        {% else %}{% ifequal m.registrantinfo_set.get.acco_location '2' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    68
          NITIE
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    69
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    70
          Not alloted
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
    71
        {% endifequal %}{% endifequal %}{% endifequal %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    72
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    73
    </tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    74
  {% endfor %}
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    75
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    76
<br />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    77
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    78
Rejected People: {{rejected.count}}<br />
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
    79
<table cellspacing=2 cellpadding=2>
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    80
  <tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    81
    <th>Name</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    82
    <th>Sex</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    83
    <th>Profession</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    84
    <th>Organization</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    85
    <th>Laptop</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    86
    <th>Will sprint</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    87
    <th>Already sprinted</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    88
    <th>Allotment</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    89
  </tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    90
  {% for m in rejected %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    91
    <tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    92
    <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    93
      <input type="checkbox" name="selected_users" value="{{m.id}}"
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    94
          id="id_selected_users_0" />
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    95
    </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    96
    <td>{{m}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    97
    <td>{{m.gender}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    98
    <td>{{m.profession}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
    99
    <td>{{m.affiliated_to}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   100
    <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   101
        {% if m.participantinfo_set.get.has_laptop_for_sagedays %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   102
          Yes
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   103
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   104
          No
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   105
        {% endif %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   106
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   107
      <td>
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   108
        {% ifequal m.participantinfo_set.get.will_sprint '1' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   109
          No
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   110
        {% else %}{% ifequal m.participantinfo_set.get.will_sprint '2' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   111
          May be
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   112
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   113
          Yes
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   114
        {% endifequal %}{% endifequal %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   115
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   116
      <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   117
        {% if m.participantinfo_set.get.sprinted_already %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   118
          Yes
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   119
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   120
          No
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   121
        {% endif %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   122
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   123
      <td>
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   124
        {% ifequal m.registrantinfo_set.get.acco_location '0' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   125
          IITB Hostel
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   126
        {% else %}{% ifequal m.registrantinfo_set.get.acco_location '1' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   127
          IITB Guest House
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   128
        {% else %}{% ifequal m.registrantinfo_set.get.acco_location '2' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   129
          NITIE
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   130
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   131
          Not alloted
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   132
        {% endifequal %}{% endifequal %}{% endifequal %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   133
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   134
    </tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   135
  {% endfor %}
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   136
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   137
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   138
<input type=submit value="Send confirmation email"  />
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   139
</form>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   140
<br /><br />
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   141
Selected People: {{selected_confirmed.count}}<br />
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   142
<table cellspacing=2 cellpadding=2>
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   143
  <tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   144
    <th>Name</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   145
    <th>Sex</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   146
    <th>Profession</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   147
    <th>Organization</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   148
    <th>Laptop</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   149
    <th>Will sprint</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   150
    <th>Already sprinted</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   151
    <th>Allotment</th>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   152
  </tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   153
  {% for m in selected %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   154
    <tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   155
      <td>{{m}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   156
      <td>{{m.gender}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   157
      <td>{{m.profession}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   158
      <td>{{m.affiliated_to}}</td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   159
      <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   160
        {% if m.participantinfo_set.get.has_laptop_for_sagedays %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   161
          Yes
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   162
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   163
          No
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   164
        {% endif %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   165
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   166
      <td>
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   167
        {% ifequal m.participantinfo_set.get.will_sprint '1' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   168
          No
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   169
        {% else %}{% ifequal m.participantinfo_set.get.will_sprint '2' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   170
          May be
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   171
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   172
          Yes
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   173
        {% endifequal %}{% endifequal %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   174
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   175
      <td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   176
        {% if m.participantinfo_set.get.sprinted_already %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   177
          Yes
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   178
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   179
          No
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   180
        {% endif %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   181
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   182
      <td>
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   183
        {% ifequal m.registrantinfo_set.get.acco_location '0' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   184
          IITB Hostel
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   185
        {% else %}{% ifequal m.registrantinfo_set.get.acco_location '1' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   186
          IITB Guest House
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   187
        {% else %}{% ifequal m.registrantinfo_set.get.acco_location '2' %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   188
          NITIE
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   189
        {% else %}
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   190
          Not alloted
221
b0fd3cb56e0b Modified template if tags to be compliant with Django 1.1 and not 1.2.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 216
diff changeset
   191
        {% endifequal %}{% endifequal %}{% endifequal %}
216
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   192
      </td>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   193
    </tr>
34512198cad4 Made style changes and added accommodation venue information for the list.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 198
diff changeset
   194
  {% endfor %}
153
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   195
</table>
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   196
55f338569133 updated the view for GET part and created corresponding template
nishanth
parents:
diff changeset
   197
{% endblock %}