src/cm/templates/site/macros/text_comments.html
author reno
Thu, 03 Dec 2009 15:55:39 +0100
changeset 17 a4be0b8a905d
parent 0 40c8f766c9b8
child 412 3b3d7126fce7
permissions -rw-r--r--
bug fix : can view own comment on comment add on mod priori bug fix : client : add no-notif record when user declines it

{% 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>