{% comment %}
This template replaces the default "comments/list.html" of "django.contrib.comments",
to allow rendering the comments as tree.
{% endcomment %}
{% load threadedcomments_tags %}
{% for comment in comment_list|fill_tree|annotate_tree %}
{% if comment.open %}
{% else %}
{% endif %}
{# c## is used by the absolute URL of the Comment model, so keep that as it is. #}
{% else %} {% endif %}- {# c## is used by the absolute URL of the Comment model, so keep that as it is. #}
-
{{ comment.submit_date }} - {{ comment.name }}
-
{{ comment.comment|linebreaks }}
{% for close in comment.close %}
{% endfor %} {% endfor %}