author | Madhusudan.C.S <madhusudancs@gmail.com> |
Thu, 13 Aug 2009 03:20:01 +0530 | |
changeset 44 | 6fda3f3cc873 |
parent 41 | 64249ebaf65a |
child 45 | 9ffe957d6159 |
permissions | -rw-r--r-- |
0 | 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 | 5 |
{% block content %} |
6 |
<div class="post"> |
|
7 |
<div class="list"> |
|
8 |
<table> |
|
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 | 13 |
<th>Line Item</th> |
14 |
<th>Institution</th> |
|
15 |
<th>State</th> |
|
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 | 18 |
</tr> |
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 |
{% if project.not_this_proposal %} |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
21 |
<div class='hidden' style="display: none;"> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
22 |
<div id='message_{{ project.project|serial_no:"new" }}' style='padding:10px; background:#fff;'> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
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 /> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
24 |
<a href='{{ row_url }}{{ project.project.micr_code }}/{{ project.user_review.id }}'>Start with my previous review</a> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
25 |
<a href='{{ row_url }}{{ project.project.micr_code }}'>Start a fresh review</a> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
26 |
</div> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
27 |
</div> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
28 |
<script type="text/javascript"> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
29 |
$(document).ready(function () { |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
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?"}); |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
31 |
}); |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
32 |
</script> |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
33 |
{% endif %} |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
34 |
<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
|
35 |
{% if project.user_review %} |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
36 |
<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
|
37 |
{% else %} |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
38 |
<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
|
39 |
{% endif %} |
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
40 |
{{ project.project|serial_no:"new" }} |
41
64249ebaf65a
Added Serial numbers support for lists.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
41 |
</td> |
44
6fda3f3cc873
All fixed for revising reviews and copying over reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
41
diff
changeset
|
42 |
<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
|
43 |
<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
|
44 |
<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
|
45 |
<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
|
46 |
<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
|
47 |
<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
|
48 |
<td>{{ project.project|serial_no:"old" }}</td> |
0 | 49 |
</a></tr> |
50 |
{% endfor %} |
|
51 |
</table> |
|
52 |
</div> |
|
53 |
</div> |
|
54 |
{% endblock content %} |