|
0
|
1 |
{% load com %} |
|
|
2 |
{% load i18n %} |
|
|
3 |
<div class="pagebreakhere"> |
|
|
4 |
{% for comment in comments %} <!-- TODO check DATABASE QUERY IMPACT (select for each user ? --> |
|
|
5 |
<table> |
|
|
6 |
<tr> |
|
|
7 |
<td style="vertical-align: top;"> |
|
|
8 |
|
|
|
9 |
{% if comment.is_reply %} |
|
|
10 |
({{ comment.num }}) |
|
|
11 |
{% else %} |
|
|
12 |
<b>[{{ comment.num }}]</b> |
|
|
13 |
{% endif %} |
|
|
14 |
</td> |
|
|
15 |
<td> |
|
|
16 |
{{ comment.title }} |
|
|
17 |
<br /> |
|
|
18 |
{% blocktrans with comment.get_name as name and comment.created|local_date:tz as date %}by {{ name }} on {{ date }}{% endblocktrans %} |
|
|
19 |
<br> |
|
|
20 |
{{ comment.content }} |
|
|
21 |
</td> |
|
|
22 |
</tr> |
|
|
23 |
</table> |
|
|
24 |
<hr> |
|
|
25 |
{% endfor %} |
|
|
26 |
</div> |