itf/itf/templates/comments/list.html
2012-12-15 01:04:00 +05:30

21 lines
616 B
HTML

{% for comment in comment_list %}
<div class="borderYellow" id="comment{{ comment.id }}">
<div>{{ comment.comment }}</div>
<div class="rightFloat">-Posted by <a href="{{ comment.user.person_set.only.0.get_absolute_url }}">{{ comment.user.username }}</a> on {{ comment.submit_date }}</div>
<br /><br />
</div>
{% endfor %}
{% comment %}
<dl id="comments">
{% for comment in comment_list %}
<dt id="c{{ comment.id }}">
{{ comment.submit_date }} - {{ comment.name }}
</dt>
<dd>
<p>{{ comment.comment }}</p>
</dd>
{% endfor %}
</dl>
{% endcomment %}