{% load spirit_tags i18n humanize %}
{% for c in comments %} {% if c.action or c.is_removed %}
{% if c.is_removed %} {% elif c.action == c.MOVED %} {% elif c.action == c.CLOSED %} {% elif c.action == c.UNCLOSED %} {% elif c.action == c.PINNED %} {% elif c.action == c.UNPINNED %} {% endif %}
{% spaceless %}
{% get_comment_action_text c %} {% if c.is_removed and user.st.is_moderator %} {% trans "undelete" %} {% trans "show" %} {% endif %}
{% endspaceless %} {% if c.is_removed and user.st.is_moderator %} {% endif %}
{% else %}
{% include "spirit/comment/_avatar.html" with u=c.user only %}
{% spaceless %} {% endspaceless %} {% spaceless %} {% endspaceless %}
{% post_render_comment comment=c %}
{% endif %} {% endfor %}