{% extends BASE_TEMPLATE %} {% load staticfiles %} {% load djeddit_tags %} {% block title %}
Home
{{ thread.topic.title }}
{% endblock %} {% block content %}
{% if thread.url %}
{{ thread.title }}
{% else %} {{ thread.title }} {% endif %}
Submitted by {% postUserName thread.op.created_by %} on {{ thread.op.created_on }}
{% with thread.op as node %} {% include 'djeddit/post_item.html' %} {% endwith %}
{% getAmount nodes|length 'comment' %}
{% include 'djeddit/thread_recursetree.html' %} {% with thread.op|missingRepliesCount:nodes as missingCount %} {% if missingCount %}
Load {% getAmount missingCount 'comment' infix='more' %}
{% endif %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}
{% getAmount nodes|length 'comment' %}
{% include 'djeddit/thread_recursetree.html' %} {% with thread.op|missingRepliesCount:nodes as missingCount %} {% if missingCount %}Load {% getAmount missingCount 'comment' infix='more' %}