app/templates/projrev/proposal/review_list.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 13 Aug 2009 04:27:08 +0530
changeset 48 9bdb5a00689a
parent 46 e27c75dedbfb
child 49 33c54f815fd5
permissions -rw-r--r--
Review list: changed links to buttons.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "projrev/base.html" %}
41
64249ebaf65a Added Serial numbers support for lists.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 39
diff changeset
     2
{% load review_helpers %}
44
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
     3
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
     4
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
<div class="post">
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
  <div class="list">
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
  <table>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
    <tr>
41
64249ebaf65a Added Serial numbers support for lists.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 39
diff changeset
    10
      <th class="first">Serial No.</th>
64249ebaf65a Added Serial numbers support for lists.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 39
diff changeset
    11
      <th>MICR Code</th>
39
e7880a8f7e04 Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    12
      <th>Title</th>
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
      <th>Line Item</th>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
      <th>Institution</th>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
      <th>State</th>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
      <th>District</th>
41
64249ebaf65a Added Serial numbers support for lists.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 39
diff changeset
    17
      <th>Old Serial No.</th>
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
    </tr>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
    {% for project in projects %}
44
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    20
      <tr class="row-a"><td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    21
      {% if project.user_review %}
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    22
      <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}'>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    23
      {% else %}
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    24
      <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}'>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    25
      {% endif %}
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    26
        {{ project.project|serial_no:"new" }}
41
64249ebaf65a Added Serial numbers support for lists.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 39
diff changeset
    27
        </td>
44
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    28
        <td>{{ project.project.micr_code }}</td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    29
        <td>{{ project.project.title }}</td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    30
        <td>{{ project.project.line_item }}</td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    31
        <td>{{ project.project.institution }}</td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    32
        <td>{{ project.project.state }}</td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    33
        <td>{{ project.project.district }}</td>
6fda3f3cc873 All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 41
diff changeset
    34
        <td>{{ project.project|serial_no:"old" }}</td>
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    35
      </a></tr>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    36
    {% endfor %}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    37
  </table>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
  </div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
</div>
48
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    40
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    41
{% for project in projects %}
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    42
{% if project.not_this_proposal %}
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    43
<div class='hidden' style="display: none;">
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    44
 <div id='message_{{ project.project|serial_no:"new" }}' style='padding:10px; background:#fff;'>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    45
  This proposal is revised after you submitted a review. You will have to submit a new review to the revised proposal. Select the relevant button below.<br /><br />
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    46
  <input class="colorbox-button" type="submit" onclick="location.href='{{ row_url }}{{ project.project.micr_code }}'" value="Start a fresh review" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    47
  <input class="colorbox-button" type="submit" onclick="location.href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}?new=0'" value="Start with my previous review" /><br /><br />
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    48
  <strong>Your previous review:</strong><br />
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    49
 <div style='text-align: left;'>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    50
 <table>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    51
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    52
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    53
   <strong>Feasibility of the proposed activity and the appropriateness of the time frame: </strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    54
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    55
  <td>{{ project.user_review.attribute1 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    56
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    57
 <tr><td>Comment: {{ project.user_review.comment_a1 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    58
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    59
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    60
   <strong>Uniqueness/novelty/innovation of the said proposal:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    61
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    62
  <td>{{ project.user_review.attribute2 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    63
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    64
 <tr><td>Comment: {{ project.user_review.comment_a2 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    65
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    66
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    67
   <strong>Scope for inter-institutional collaboration and development:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    68
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    69
  <td>{{ project.user_review.attribute3 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    70
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    71
 <tr><td>Comment: {{ project.user_review.comment_a3 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    72
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    73
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    74
   <strong>The organisation of the programme to be carried out:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    75
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    76
  <td>{{ project.user_review.attribute4 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    77
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    78
 <tr><td>Comment: {{ project.user_review.comment_a4 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    79
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    80
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    81
   <strong>The details of the work as the outlined by the principal investigator(PI):</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    82
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    83
  <td>{{ project.user_review.attribute5 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    84
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    85
 <tr><td>Comment: {{ project.user_review.comment_a5 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    86
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    87
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    88
   <strong>Sufficiency of funds as requested by the PI:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    89
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    90
  <td>{{ project.user_review.attribute6 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    91
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    92
 <tr><td>Comment: {{ project.user_review.comment_a6 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    93
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    94
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    95
   <strong>Social impact/reach/spread of the outcome of the proposal:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    96
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    97
  <td>{{ project.user_review.attribute7 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    98
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
    99
 <tr><td>Comment: {{ project.user_review.comment_a7 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   100
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   101
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   102
   <strong>Contribution of the proposal to minimizing the digital divide in our country:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   103
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   104
  <td>{{ project.user_review.attribute8 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   105
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   106
 <tr><td>Comment: {{ project.user_review.comment_a8 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   107
 <tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   108
  <td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   109
   <strong>Any other matter which is likely to affect the execution of the project:</strong>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   110
  </td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   111
  <td>{{ project.user_review.attribute9 }}</td>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   112
 </tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   113
 <tr><td>Comment: {{ project.user_review.comment_a9 }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   114
 </table>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   115
 <table>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   116
 <tr><td><strong>Overall comment:</strong></td><td>{{ project.user_review.comment }}</td></tr>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   117
 </table>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   118
 </div>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   119
 </div>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   120
</div>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   121
<script type="text/javascript">
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   122
$(document).ready(function () {
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   123
  $('#getredirect_{{ project.project|serial_no:"new" }}').colorbox({width:"50%", inline:true, href:"#message_{{ project.project|serial_no:"new" }}", title:"What do you want to do?"});
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   124
});
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   125
</script>
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   126
{% endif %}
9bdb5a00689a Review list: changed links to buttons.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 46
diff changeset
   127
{% endfor %}
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   128
{% endblock content %}