Full Comments window decoration.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 13 Aug 2009 04:01:15 +0530
changeset 47 09c3b7aaa535
parent 46 e27c75dedbfb
child 48 9bdb5a00689a
Full Comments window decoration.
app/projrev/models.py
app/settings.py
app/templates/projrev/templatetags/_as_review.html
--- a/app/projrev/models.py	Thu Aug 13 03:42:34 2009 +0530
+++ b/app/projrev/models.py	Thu Aug 13 04:01:15 2009 +0530
@@ -901,7 +901,7 @@
   attribute2 = models.PositiveSmallIntegerField(
       choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])
   attribute2.verbose_name = ('Uniqueness/novelty/innovation of the said '
-      'proposal')
+      'proposal.')
 
   comment_a2 = models.TextField(blank=True)
   comment_a2.verbose_name = 'Comment'
--- a/app/settings.py	Thu Aug 13 03:42:34 2009 +0530
+++ b/app/settings.py	Thu Aug 13 04:01:15 2009 +0530
@@ -9,6 +9,8 @@
     ('Madhusudan.C.S', 'madhusudancs@gmail.com'),
 )
 
+SESSION_EXPIRE_AT_BROWSER_CLOSE = True
+
 DEFAULT_FROM_EMAIL = 'admin@sakshath.ac.in'
 
 MANAGERS = ADMINS
--- a/app/templates/projrev/templatetags/_as_review.html	Thu Aug 13 03:42:34 2009 +0530
+++ b/app/templates/projrev/templatetags/_as_review.html	Thu Aug 13 04:01:15 2009 +0530
@@ -6,62 +6,73 @@
 </script>
 <div style="display: none;">
  <div id="attributes_{{ review.id }}" style='padding:10px; background:#fff; text-align: left;'>
- {{ review.comment }}<br /><br />
  <table>
  <tr>
   <td>
-   Feasibility of the proposed activity and the appropriateness of the time frame: 
+   <strong>Feasibility of the proposed activity and the appropriateness of the time frame: </strong>
   </td>
-  <td><strong>{{ review.attribute1 }}</strong></td>
+  <td>{{ review.attribute1 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a1 }}</td></tr>
  <tr>
   <td>
-   Uniqueness/novelty/innovation of the said proposal:
+   <strong>Uniqueness/novelty/innovation of the said proposal:</strong>
   </td>
-  <td> <strong>{{ review.attribute2 }}</strong></td>
+  <td>{{ review.attribute2 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a2 }}</td></tr>
  <tr>
   <td>
-   Scope for inter-institutional collaboration and development:
+   <strong>Scope for inter-institutional collaboration and development:</strong>
   </td>
-  <td> <strong>{{ review.attribute3 }}</strong></td>
+  <td>{{ review.attribute3 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a3 }}</td></tr>
  <tr>
   <td>
-   The organisation of the programme to be carried out:
+   <strong>The organisation of the programme to be carried out:</strong>
   </td>
-  <td> <strong>{{ review.attribute4 }}</strong></td>
+  <td>{{ review.attribute4 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a4 }}</td></tr>
  <tr>
   <td>
-   The details of the work as the outlined by the principal investigator(PI):
+   <strong>The details of the work as the outlined by the principal investigator(PI):</strong>
   </td>
-  <td><strong>{{ review.attribute5 }}</strong></td>
+  <td>{{ review.attribute5 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a5 }}</td></tr>
  <tr>
   <td>
-   The details of the work as the outlined by the principal investigator(PI): 
+   <strong>Sufficiency of funds as requested by the PI:</strong>
   </td>
-  <td><strong>{{ review.attribute6 }}</strong></td>
+  <td>{{ review.attribute6 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a6 }}</td></tr>
  <tr>
   <td>
-   Social impact/reach/spread of the outcome of the proposal: 
+   <strong>Social impact/reach/spread of the outcome of the proposal:</strong>
   </td>
-  <td><strong>{{ review.attribute7 }}</strong></td>
+  <td>{{ review.attribute7 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a7 }}</td></tr>
  <tr>
   <td>
-   Contribution of the proposal to minimizing the digital divide in our country: 
+   <strong>Contribution of the proposal to minimizing the digital divide in our country:</strong>
   </td>
-  <td><strong>{{ review.attribute8 }}</strong></td>
+  <td>{{ review.attribute8 }}</td>
  </tr>
+ <tr><td>Comment: {{ review.comment_a8 }}</td></tr>
  <tr>
   <td>
-   Any other matter which is likely to affect the execution of the project:
+   <strong>Any other matter which is likely to affect the execution of the project:</strong>
   </td>
-  <td><strong>{{ review.attribute9 }}</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>