src/cm/templates/site/macros/text_comments.html
author Production Moz <dev@sopinspace.com>
Wed, 09 May 2012 09:36:49 +0200
changeset 416 5573b959131d
parent 412 3b3d7126fce7
child 454 b7a092a52eae
permissions -rw-r--r--
Adds rtfas input formats when converting with abiword.

{% 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 }}
  {% if comment.tags %}
  <br />&nbsp;<br />
    tags: {{ comment.tags }}
  {% endif %}
	</td>
</tr>
</table>
<hr>
{% endfor %}
</div>