{% extends "admin/base.html" %} {% from "admin/macros/comments.html" import thread_item %} {% block title %}{{ heading }}{% endblock %} {% block content %} {% if deleted_target %} {% endif %} {% if can_add %}
{% if error and error_field == 'body' and not edit_comment_id and not reply_parent %}
{{ error }}
{% elif error and not edit_comment_id and not reply_parent %}
{{ error }}
{% endif %}
Ctrl+Enter sends. Markdown is not interpreted.
{% elif not deleted_target %} {% endif %}
{% if not threads %}
No comments yet.
{% endif %} {% for thread in threads %} {{ thread_item(thread, comments_url, csrf_token, can_add, allow_replies, edit_comment_id, edit_body, error, error_field, reply_parent, body_value, mention_url, mention_model, max_length, deleted_target) }} {% endfor %}
{% if older %} {% elif before %} {% endif %}
{% endblock %}