src/cm/templates/site/macros/text_comments.html
author raph
Thu, 15 Jul 2010 16:23:58 +0200
changeset 294 c2c262ac1273
parent 0 40c8f766c9b8
child 412 3b3d7126fce7
permissions -rw-r--r--
do not show permalink if prefix is used in embed params / minified client update

{% load com %}
{% load i18n %}
<div class="pagebreakhere">
{% for comment in comments %} <!--  TODO check DATABASE QUERY IMPACT (select for each user ? -->
<table>
<tr>
	<td style="vertical-align: top;">

    {% if comment.is_reply %}
    	({{ comment.num }}) 
    {% else %}
        <b>[{{ comment.num }}]</b> 
    {% endif %}
	</td>
	<td>
	{{ comment.title }}
	<br />
	{% blocktrans with comment.get_name as name and comment.created|local_date:tz as date %}by {{ name }} on {{ date }}{% endblocktrans %}
	<br>
	{{ comment.content }}
	</td>
</tr>
</table>
<hr>
{% endfor %}
</div>