{% extends "zinnia:zinnia/entry_detail_base.html" %} {% load static i18n comments zinnia_tags mptt_tags %} {% block link %} {{ block.super }} {% endblock link %} {% block script %} {{ block.super }} {% if object.comments_are_open %}{% endif %} {% endblock %} {% block comments-loop %}
    {% recursetree comment_list %} {% with comment=node %}
  1. {{ comment.name }} {% block comment-info %}

    {% if comment.url %} {{ comment.name }} {% else %} {{ comment.name }} {% endif %} {% trans "on" context "on date" %} {{ comment.submit_date|date:"SHORT_DATETIME_FORMAT" }} #

    {% endblock comment-info %} {% block comment-content %} {{ comment.comment|linebreaks }} {% endblock comment-content %} {% block comment-reply-link %} {% if object.comments_are_open %}

    {% trans "Reply" %}

    {% endif %} {% endblock comment-reply-link %}
  2. {% block comment-replies %} {% if not comment.is_leaf_node %}
    1. {{ children }}
  3. {% endif %} {% endblock comment-replies %} {% endwith %} {% endrecursetree %}
{% endblock comments-loop %}