{% from 'topic/reply/_macro.html' import like,no_replies %} {% set replies = topic.replies.paginate(1,10) %}
{{ _('Received %(total)s replies',total=replies.total) }}
{% if replies.items %} {% set num = 1 %} {% for reply in replies.items %} {% set user = reply.author %}
{{ link.user(reply.author.username)}} {{ reply.created_at | timesince }}
{{ reply.content | safe_clean }}
{{ like(reply) }}
{% set num = num + 1 %} {% endfor %} {{ p_footer(replies,'topic.topic',dict(topicId=topic.id))}} {% else %} {{ no_replies() }} {% endif %}
{% include "topic/reply/form.html" %}