app/templates/projrev/templatetags/_as_review.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 13 Aug 2009 04:01:15 +0530
changeset 47 09c3b7aaa535
parent 42 4cf4c1f0e5bb
permissions -rw-r--r--
Full Comments window decoration.

{% load review_helpers %}
<script type="text/javascript">
$(document).ready(function(){
$("#id_full_comment_{{ review.id }}").colorbox({width:"50%", inline:true, href:"#attributes_{{ review.id }}", title:"Comment and scores"});
});
</script>
<div style="display: none;">
 <div id="attributes_{{ review.id }}" style='padding:10px; background:#fff; text-align: left;'>
 <table>
 <tr>
  <td>
   <strong>Feasibility of the proposed activity and the appropriateness of the time frame: </strong>
  </td>
  <td>{{ review.attribute1 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a1 }}</td></tr>
 <tr>
  <td>
   <strong>Uniqueness/novelty/innovation of the said proposal:</strong>
  </td>
  <td>{{ review.attribute2 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a2 }}</td></tr>
 <tr>
  <td>
   <strong>Scope for inter-institutional collaboration and development:</strong>
  </td>
  <td>{{ review.attribute3 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a3 }}</td></tr>
 <tr>
  <td>
   <strong>The organisation of the programme to be carried out:</strong>
  </td>
  <td>{{ review.attribute4 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a4 }}</td></tr>
 <tr>
  <td>
   <strong>The details of the work as the outlined by the principal investigator(PI):</strong>
  </td>
  <td>{{ review.attribute5 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a5 }}</td></tr>
 <tr>
  <td>
   <strong>Sufficiency of funds as requested by the PI:</strong>
  </td>
  <td>{{ review.attribute6 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a6 }}</td></tr>
 <tr>
  <td>
   <strong>Social impact/reach/spread of the outcome of the proposal:</strong>
  </td>
  <td>{{ review.attribute7 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a7 }}</td></tr>
 <tr>
  <td>
   <strong>Contribution of the proposal to minimizing the digital divide in our country:</strong>
  </td>
  <td>{{ review.attribute8 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a8 }}</td></tr>
 <tr>
  <td>
   <strong>Any other matter which is likely to affect the execution of the project:</strong>
  </td>
  <td>{{ review.attribute9 }}</td>
 </tr>
 <tr><td>Comment: {{ review.comment_a9 }}</td></tr>
 </table>
 <table>
 <tr><td><strong>Overall comment:</strong></td><td>{{ review.comment }}</td></tr>
 </table>
 </div>
</div>
<div class="review-center-box">
  Comment by: <strong>{{ review.reviewer }}</strong>,
On <strong>{{ review.reviewed_on|date:"jS F Y h:iA" }}</strong><br/><br/>
  {{ review.comment|wordwrap:"80"|splitline }}<br /><br/>
  Total Score: <strong>{{ total_score }} </strong>&nbsp;&nbsp;
  <a id="id_full_comment_{{ review.id }}" href="#">Click here to see complete comment and individual scores</a><br />
</div>