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