|
1 {% comment %} |
|
2 Licensed under the Apache License, Version 2.0 (the "License"); |
|
3 you may not use this file except in compliance with the License. |
|
4 You may obtain a copy of the License at |
|
5 |
|
6 http://www.apache.org/licenses/LICENSE-2.0 |
|
7 |
|
8 Unless required by applicable law or agreed to in writing, software |
|
9 distributed under the License is distributed on an "AS IS" BASIS, |
|
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
11 See the License for the specific language governing permissions and |
|
12 limitations under the License. |
|
13 {% endcomment %} |
|
14 |
|
15 <script type="text/javascript"> |
|
16 $(document).ready(function(){ |
|
17 $('.spc{{ comment_id }}').hide(); |
|
18 $('.ghoptaskcomment #c{{ comment_id }}').hover( |
|
19 function() { |
|
20 $('.spc{{ comment_id }}').show(); |
|
21 }, |
|
22 function() { |
|
23 $('.spc{{ comment_id }}').hide(); |
|
24 }); |
|
25 }); |
|
26 </script> |
|
27 |
|
28 <div class="ghoptaskcomment"> |
|
29 <div class="title" id="c{{ comment_id }}"> |
|
30 On {{ comment.created_on|date:"jS F Y H:i" }}, |
|
31 by |
|
32 {% if comment.created_by %} |
|
33 {{ comment.created_by.name }}: |
|
34 {% else %} |
|
35 {{ site_name }} Automatic Updater: |
|
36 {% endif %} |
|
37 <span class="spc{{ comment_id }}"> |
|
38 <a title="Permalink to this Comment" href="#c{{ comment_id }}">ΒΆ</a> |
|
39 </span> |
|
40 </div> |
|
41 <div class="box-inner"> |
|
42 <p> |
|
43 {% if comment.content %} |
|
44 {{ comment.content|safe }}</p> |
|
45 {% else %} |
|
46 (No Comment was entered for this change.) |
|
47 {% endif %} |
|
48 </div> |
|
49 {% if comment.changes %} |
|
50 <div class="changes"> |
|
51 <div class="box-inner"> |
|
52 <b>Changes:</b> |
|
53 {{ comment.changes|join:"; " }} |
|
54 </div> |
|
55 </div> |
|
56 {% endif %} |
|
57 </div> |
|
58 <hr /> |
|
59 |