{% import "widgets/user.html" as widget_user %} {% import "widgets/attachments.html" as widget_attachments %} {% macro thread(comments, top_comment) %} {% for c in comments %} {% if c != top_comment %} {% elif loop.index0 != 0 %}
Ce message est le top comment
{% endif %} {% endfor %}
{{ widget_user.profile(c.author) }}
Posté le {{ c.date_created|date }}
{% if c.date_created != c.date_modified %}
Modifié le {{ c.date_modified|date }}
{% endif %}
{{ c.text|md }} {{ widget_attachments.attachments(c) }} {% if c.author.signature %}
{{ c.author.signature|md }} {% endif %}
{% endmacro %}