app/templates/projrev/proposal/review_list.html
changeset 48 9bdb5a00689a
parent 46 e27c75dedbfb
child 49 33c54f815fd5
equal deleted inserted replaced
47:09c3b7aaa535 48:9bdb5a00689a
    15       <th>State</th>
    15       <th>State</th>
    16       <th>District</th>
    16       <th>District</th>
    17       <th>Old Serial No.</th>
    17       <th>Old Serial No.</th>
    18     </tr>
    18     </tr>
    19     {% for project in projects %}
    19     {% for project in projects %}
    20       {% if project.not_this_proposal %}
       
    21       <div class='hidden' style="display: none;">
       
    22         <div id='message_{{ project.project|serial_no:"new" }}' style='padding:10px; background:#fff;'>
       
    23           This proposal is revised after you submitted a review. You will have to submit a new review to the revised proposal. Press the relevant button.<br />
       
    24           <a href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}?new=0'>Start with my previous review</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
    25           <a href='{{ row_url }}{{ project.project.micr_code }}'>Start a fresh review</a>
       
    26         </div>
       
    27       </div>
       
    28       <script type="text/javascript">
       
    29         $(document).ready(function () {
       
    30           $('#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?"});
       
    31         });
       
    32       </script>
       
    33       {% endif %}
       
    34       <tr class="row-a"><td>
    20       <tr class="row-a"><td>
    35       {% if project.user_review %}
    21       {% if project.user_review %}
    36       <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}'>
    22       <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}'>
    37       {% else %}
    23       {% else %}
    38       <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}'>
    24       <a id='getredirect_{{ project.project|serial_no:"new" }}' href='{{ row_url }}{{ project.project.micr_code }}'>
    49       </a></tr>
    35       </a></tr>
    50     {% endfor %}
    36     {% endfor %}
    51   </table>
    37   </table>
    52   </div>
    38   </div>
    53 </div>
    39 </div>
       
    40 
       
    41 {% for project in projects %}
       
    42 {% if project.not_this_proposal %}
       
    43 <div class='hidden' style="display: none;">
       
    44  <div id='message_{{ project.project|serial_no:"new" }}' style='padding:10px; background:#fff;'>
       
    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 />
       
    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;
       
    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 />
       
    48   <strong>Your previous review:</strong><br />
       
    49  <div style='text-align: left;'>
       
    50  <table>
       
    51  <tr>
       
    52   <td>
       
    53    <strong>Feasibility of the proposed activity and the appropriateness of the time frame: </strong>
       
    54   </td>
       
    55   <td>{{ project.user_review.attribute1 }}</td>
       
    56  </tr>
       
    57  <tr><td>Comment: {{ project.user_review.comment_a1 }}</td></tr>
       
    58  <tr>
       
    59   <td>
       
    60    <strong>Uniqueness/novelty/innovation of the said proposal:</strong>
       
    61   </td>
       
    62   <td>{{ project.user_review.attribute2 }}</td>
       
    63  </tr>
       
    64  <tr><td>Comment: {{ project.user_review.comment_a2 }}</td></tr>
       
    65  <tr>
       
    66   <td>
       
    67    <strong>Scope for inter-institutional collaboration and development:</strong>
       
    68   </td>
       
    69   <td>{{ project.user_review.attribute3 }}</td>
       
    70  </tr>
       
    71  <tr><td>Comment: {{ project.user_review.comment_a3 }}</td></tr>
       
    72  <tr>
       
    73   <td>
       
    74    <strong>The organisation of the programme to be carried out:</strong>
       
    75   </td>
       
    76   <td>{{ project.user_review.attribute4 }}</td>
       
    77  </tr>
       
    78  <tr><td>Comment: {{ project.user_review.comment_a4 }}</td></tr>
       
    79  <tr>
       
    80   <td>
       
    81    <strong>The details of the work as the outlined by the principal investigator(PI):</strong>
       
    82   </td>
       
    83   <td>{{ project.user_review.attribute5 }}</td>
       
    84  </tr>
       
    85  <tr><td>Comment: {{ project.user_review.comment_a5 }}</td></tr>
       
    86  <tr>
       
    87   <td>
       
    88    <strong>Sufficiency of funds as requested by the PI:</strong>
       
    89   </td>
       
    90   <td>{{ project.user_review.attribute6 }}</td>
       
    91  </tr>
       
    92  <tr><td>Comment: {{ project.user_review.comment_a6 }}</td></tr>
       
    93  <tr>
       
    94   <td>
       
    95    <strong>Social impact/reach/spread of the outcome of the proposal:</strong>
       
    96   </td>
       
    97   <td>{{ project.user_review.attribute7 }}</td>
       
    98  </tr>
       
    99  <tr><td>Comment: {{ project.user_review.comment_a7 }}</td></tr>
       
   100  <tr>
       
   101   <td>
       
   102    <strong>Contribution of the proposal to minimizing the digital divide in our country:</strong>
       
   103   </td>
       
   104   <td>{{ project.user_review.attribute8 }}</td>
       
   105  </tr>
       
   106  <tr><td>Comment: {{ project.user_review.comment_a8 }}</td></tr>
       
   107  <tr>
       
   108   <td>
       
   109    <strong>Any other matter which is likely to affect the execution of the project:</strong>
       
   110   </td>
       
   111   <td>{{ project.user_review.attribute9 }}</td>
       
   112  </tr>
       
   113  <tr><td>Comment: {{ project.user_review.comment_a9 }}</td></tr>
       
   114  </table>
       
   115  <table>
       
   116  <tr><td><strong>Overall comment:</strong></td><td>{{ project.user_review.comment }}</td></tr>
       
   117  </table>
       
   118  </div>
       
   119  </div>
       
   120 </div>
       
   121 <script type="text/javascript">
       
   122 $(document).ready(function () {
       
   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?"});
       
   124 });
       
   125 </script>
       
   126 {% endif %}
       
   127 {% endfor %}
    54 {% endblock content %}
   128 {% endblock content %}