{% load comments molo_commenting_tags i18n %} {% if self.is_commenting_enabled %}
{% if self.allow_commenting %} {% get_comment_count for self as comment_count %} {% if comment_count > 0 %}
{% trans "Comment" %}{{comment_count}} {% trans "comment" %}{{comment_count|pluralize}}
{% endif %}
{% if request.user.is_authenticated %} {% render_comment_form for self %} {% else %} {% trans "Log in to comment" %} {% endif %} {% else %}

{% trans "Commenting on this article is currently disabled" %}

{% endif %}
{% get_comment_count for self as comment_count %} {% get_molo_comments for self as comment_list %} {% for node in comment_list %} {% recursetree node %} {% include "comments/comment.html" %} {{ children }} {% endrecursetree %} {% endfor %} {% if comment_count > 5 %} {% endif %}
{% endif %}