Template source: comment_template.html

{% load i18n comment_forms mptt_tags %} {% for node in nodes %} {% recursetree node %} <div id="comment_id_{{ node.pk }}" class="custom_comments_item"> <h4 class="pull-left">{{ node.username }}</h4> <div class="pull-right comment-reply"> {% if node.parent.parent == None %} <a href="" class="comment-reply-btn" data-id="{{ node.pk }}">reply</a> / <a href="" class="comment-view-replies" data-id="{{ node.pk }}">view replies ({{ node.children.count }})</a> {% endif %} </div> <div class="clearfix"></div> <small class="comment-date"><i>{{ node.published_on }}</i></small> <p>{{ node.message.capitalize }}</p> <div class="comment-reply-form" style="margin-left:75px">{% custom_comment_reply node %}</div> <div class="comment-child children_of_{{ node.pk }}"> {% if not node.is_leaf_node %} {{ children }} {% endif %} </div> </div> {% endrecursetree %} {% endfor %} {% if nodes %} <div class="load-comments_{{ article_id }} load-comments"> <a class="load-more" href="" data-load="{{ load_more }}" data-id="{{ article_id }}">Load More</a> </div> {% endif %}