{% load l10n %} {% load i18n %} {% load comments %} {% load comments_xtd %} {% for item in comments %} {% if item.comment.level == 0 %}
  • {% else %}
    {% endif %}
    {{ item.comment.user_email|xtd_comment_gravatar }}
    {{ item.comment.submit_date|localize }} - {% if item.comment.url and not item.comment.is_removed %}{% endif %}{{ item.comment.name }}{% if item.comment.url %}{% endif %}{% if item.comment.user and item.comment.user|has_permission:"django_comments.can_moderate" %} {% trans "moderator" %}{% endif %}   {% if not item.comment.is_removed %}
    {% if allow_flagging and item.flagged %} {% elif allow_flagging %} {% endif %} {% if perms.comments.can_moderate %} {% if item.flagged_count %} {{ item.flagged_count }} {% endif %} {% endif %}
    {% endif %}
    {% if item.comment.is_removed %}

    {% trans "This comment has been removed." %}

    {% else %}
    {% include "includes/django_comments_xtd/comment_content.html" with content=item.comment.comment %}
    {% if allow_feedback %} {% include "includes/django_comments_xtd/user_feedback.html" %} {% endif %} {% if item.comment.allow_thread and not item.comment.is_removed %} {% if allow_feedback %}    {% endif %}{% trans "Reply" %} {% endif %} {% endif %}
    {% if not item.comment.is_removed and item.children %}
    {% render_xtdcomment_tree with comments=item.children %}
    {% endif %}
    {% if item.comment.level == 0 %}
  • {% else %}{% endif %} {% endfor %}