author | Madhusudan.C.S <madhusudancs@gmail.com> |
Thu, 13 Aug 2009 03:20:01 +0530 | |
changeset 44 | 6fda3f3cc873 |
parent 43 | 55e650bb9dbe |
child 48 | 9bdb5a00689a |
permissions | -rw-r--r-- |
0 | 1 |
{% extends "projrev/base.html" %} |
27
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
2 |
{% load review_helpers %} |
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
3 |
|
0 | 4 |
{% block content %} |
5 |
<div class="post"> |
|
6 |
||
7 |
<a name="TemplateInfo"></a> |
|
8 |
<h1>Review the proposal</h1> |
|
9 |
||
10 |
<p>The proposal details are given below followed by a Review form.</p> |
|
11 |
||
12 |
<div class='review-center-box'> |
|
13 |
<div class='review-left'> |
|
38 | 14 |
Title: |
15 |
</div> |
|
16 |
<div class='review-right'> |
|
17 |
{{ project.title }} |
|
18 |
</div> |
|
19 |
<br/> |
|
20 |
<div class='review-left'> |
|
0 | 21 |
Project MICR Code: |
22 |
</div> |
|
23 |
<div class='review-right'> |
|
24 |
{{ project.micr_code }} |
|
25 |
</div> |
|
26 |
<br/> |
|
27 |
<div class='review-left'> |
|
28 |
Institution: |
|
29 |
</div> |
|
30 |
<div class='review-right'> |
|
31 |
{{ project.institution }} |
|
32 |
</div> |
|
33 |
<br/> |
|
34 |
<div class='review-left'> |
|
35 |
Project Line Item: |
|
36 |
</div> |
|
37 |
<div class='review-right'> |
|
38 |
{{ project.line_item }} |
|
39 |
</div> |
|
40 |
<br/> |
|
41 |
<div class='review-left'> |
|
38 | 42 |
Address: |
43 |
</div> |
|
44 |
<div class='review-right'> |
|
45 |
{{ project.address }} |
|
46 |
</div> |
|
47 |
<br/> |
|
48 |
<div class='review-left'> |
|
49 |
City: |
|
50 |
</div> |
|
51 |
<div class='review-right'> |
|
52 |
{{ project.city }} |
|
53 |
</div> |
|
54 |
<br/> |
|
55 |
<div class='review-left'> |
|
56 |
PIN Code: |
|
57 |
</div> |
|
58 |
<div class='review-right'> |
|
59 |
{{ project.pin_code }} |
|
60 |
</div> |
|
61 |
<br/> |
|
62 |
<div class='review-left'> |
|
0 | 63 |
State: |
64 |
</div> |
|
65 |
<div class='review-right'> |
|
66 |
{{ project.state }} |
|
67 |
</div> |
|
68 |
<br/> |
|
69 |
<div class='review-left'> |
|
70 |
District: |
|
71 |
</div> |
|
72 |
<div class='review-right'> |
|
73 |
{{ project.district }} |
|
74 |
</div> |
|
75 |
<br/> |
|
76 |
<div class='review-left'> |
|
77 |
Proposal Document: |
|
78 |
</div> |
|
79 |
<div class='review-right'> |
|
80 |
<a href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a> |
|
81 |
</div> |
|
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
82 |
<br /> |
0 | 83 |
</div> |
28
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
84 |
|
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
85 |
|
0 | 86 |
<form enctype="multipart/form-data" method="post" action=""> |
87 |
<p> |
|
28
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
88 |
<p> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
89 |
{{ form.attribute1.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
90 |
<strong>{{ form.attribute1.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
91 |
{% as_star_for_score "attribute1" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
92 |
{% if form.attribute1.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
93 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
94 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
95 |
{{ form.comment_a1.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
96 |
<label id='id_comment'>{{ form.comment_a1.label }}</label>{{ form.comment_a1 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
97 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
98 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
99 |
{{ form.attribute2.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
100 |
<strong>{{ form.attribute2.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
101 |
{% as_star_for_score "attribute2" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
102 |
{% if form.attribute2.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
103 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
104 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
105 |
{{ form.comment_a2.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
106 |
<label id='id_comment'>{{ form.comment_a2.label }}</label>{{ form.comment_a2 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
107 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
108 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
109 |
{{ form.attribute3.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
110 |
<strong>{{ form.attribute3.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
111 |
{% as_star_for_score "attribute3" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
112 |
{% if form.attribute3.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
113 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
114 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
115 |
{{ form.comment_a3.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
116 |
<label id='id_comment'>{{ form.comment_a3.label }}</label>{{ form.comment_a3 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
117 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
118 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
119 |
{{ form.attribute4.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
120 |
<strong>{{ form.attribute4.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
121 |
{% as_star_for_score "attribute4" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
122 |
{% if form.attribute4.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
123 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
124 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
125 |
{{ form.comment_a4.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
126 |
<label id='id_comment'>{{ form.comment_a4.label }}</label>{{ form.comment_a4 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
127 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
128 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
129 |
{{ form.attribute5.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
130 |
<strong>{{ form.attribute5.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
131 |
{% as_star_for_score "attribute5" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
132 |
{% if form.attribute5.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
133 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
134 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
135 |
{{ form.comment_a5.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
136 |
<label id='id_comment'>{{ form.comment_a5.label }}</label>{{ form.comment_a5 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
137 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
138 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
139 |
{{ form.attribute6.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
140 |
<strong>{{ form.attribute6.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
141 |
{% as_star_for_score "attribute6" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
142 |
{% if form.attribute6.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
143 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
144 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
145 |
{{ form.comment_a6.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
146 |
<label id='id_comment'>{{ form.comment_a6.label }}</label>{{ form.comment_a6 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
147 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
148 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
149 |
{{ form.attribute7.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
150 |
<strong>{{ form.attribute7.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
151 |
{% as_star_for_score "attribute7" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
152 |
{% if form.attribute7.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
153 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
154 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
155 |
{{ form.comment_a7.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
156 |
<label id='id_comment'>{{ form.comment_a7.label }}</label>{{ form.comment_a7 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
157 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
158 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
159 |
{{ form.attribute8.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
160 |
<strong>{{ form.attribute8.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
161 |
{% as_star_for_score "attribute8" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
162 |
{% if form.attribute8.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
163 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
164 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
165 |
{{ form.comment_a8.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
166 |
<label id='id_comment'>{{ form.comment_a8.label }}</label>{{ form.comment_a8 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
167 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
168 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
169 |
{{ form.attribute9.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
170 |
<strong>{{ form.attribute9.label }}</strong><br /> |
43
55e650bb9dbe
Star values recalled.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
42
diff
changeset
|
171 |
{% as_star_for_score "attribute9" %} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
172 |
{% if form.attribute9.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
173 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
174 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
175 |
{{ form.comment_a9.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
176 |
<label id='id_comment'>{{ form.comment_a9.label }}</label>{{ form.comment_a9 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
177 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
178 |
<br /><br /> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
179 |
<p> |
28
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
180 |
{% if form.comment.help_text %} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
181 |
<script type="text/javascript"> |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
182 |
$(document).ready( function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
183 |
var tooltip = [ |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
184 |
"<div class='tooltip'>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
185 |
" <div class='tooltip-body'>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
186 |
" <img src='/site-content/images/info.png' alt='' />", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
187 |
" <h3>Info</h3>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
188 |
" <p>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
189 |
" {% autoescape off %}", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
190 |
" {{ form.comment.help_text|linebreaksbr|escapejs }}", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
191 |
" {% endautoescape %}", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
192 |
" </p>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
193 |
" </div>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
194 |
" <div class='tooltip-bottom'></div>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
195 |
"</div>" |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
196 |
].join(""); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
197 |
|
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
198 |
var tooltip_object=null; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
199 |
var documented = $("#id_{{ form.comment.name }}"); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
200 |
var not_fieldset = documented.attr('tagName') !== 'FIELDSET'; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
201 |
if (not_fieldset) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
202 |
documented.focus(function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
203 |
if (tooltip_object==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
204 |
tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
205 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
206 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
207 |
documented.blur(function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
208 |
if (tooltip_object!==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
209 |
tooltip_object.remove(); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
210 |
tooltip_object=null; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
211 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
212 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
213 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
214 |
else { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
215 |
documented.find("input").hover(function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
216 |
if (tooltip_object==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
217 |
tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
218 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
219 |
}, |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
220 |
function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
221 |
if (tooltip_object!==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
222 |
tooltip_object.remove(); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
223 |
tooltip_object=null; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
224 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
225 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
226 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
227 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
228 |
</script> |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
229 |
{% endif %} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
230 |
{{ form.comment.errors }} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
231 |
<label id='id_comment'>{{ form.comment.label }}</label>{{ form.comment }}{% if form.comment.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
29
425626c7f63e
Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
28
diff
changeset
|
232 |
</p> |
0 | 233 |
<br /> |
234 |
<input class="button" type="submit" value="Submit Review" /> |
|
14 | 235 |
</p> |
0 | 236 |
</form> |
237 |
||
14 | 238 |
<p class="post-footer align-right"> |
239 |
<span class="comments">Reviews: |
|
240 |
{% if nr_reviews %} |
|
241 |
{{ nr_reviews }} |
|
242 |
{% else %} |
|
243 |
(<i>None</i>) |
|
244 |
{% endif %} |
|
245 |
</span> |
|
246 |
<span class="date">Last reviewed: |
|
247 |
{% if last_reviewed %} |
|
248 |
{{ last_reviewed|date:"jS F Y h:iA" }} |
|
249 |
{% else %} |
|
250 |
(<i>Not Reviewed</i>) |
|
251 |
{% endif %} |
|
252 |
</span> |
|
253 |
<span class="date">Last submitted: |
|
254 |
{% if last_submitted %} |
|
255 |
{{ last_submitted|date:"jS F Y h:iA" }} |
|
256 |
{% else %} |
|
257 |
(<i>New Submission</i>) |
|
258 |
{% endif %} |
|
259 |
</span> |
|
260 |
</p> |
|
26
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
261 |
{% if reviews %} |
27
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
262 |
<br /><br /> |
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
263 |
<p> |
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
264 |
<h2>Reviews: Comments and Scores:</h2> |
26
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
265 |
{% for review in reviews %} |
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
266 |
{% as_review review %} |
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
267 |
{% endfor %} |
27
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
268 |
</p> |
26
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
269 |
{% endif %} |
0 | 270 |
</div> |
271 |
{% endblock content %} |