{% extends "base.html" %} {% load i18n %} {% load pytils_dt %} {% load pytils_numeral %} {% load discussion_tags %} {% load theme %} {% block title %}{{ object.name }}{% endblock %} {% block extrahead %} {% theme_css "highlight" %} {% theme_js "highlight.pack" %} {% theme_js "comments" %} {% ifequal settings.CAPTCHA "recaptcha" %}{% endifequal %} {% ifapp pingback %}{% endifapp %} {% revcanonical object %} {% endblock %} {% block content %} {% include "blog/post_entry.html" %} {% block pingbacks %} {% if object.pingback_count %}

{% trans "Pingbacks" %}: {{ object.pingback_count }}

{% for pingback in object.pingbacks.all %} {% include "blog/pingback.html" %} {% endfor %}
{% endif %} {% endblock %} {% comment_tree_for_object object as comments %} {% block comments %}

{% trans "Comments" %}: {{ object.approved_comments_count }} {% ifapp watchlist %} {% load watchlist_tags %} {% if form.subscribe %} {# using CommentForm feature for detection if user is already subscribed to object #} {% else %} {% endif %} ({% trans "already" %}: {{ object.watchlist_count }}) {% endifapp %} {% trans "Comment post" %}

{% if not comments %}
{% trans "No comments for this post" %}
{% endif %} {% for comment in comments %} {% include "blog/comment.html" %} {% endfor %} {% if object.comments_open %}{% if not reply_to %} {% include "blog/comment_form.html" %} {% endif %}{% endif %} {% if comments %} {# display link for commenting at bottom to avoid confusion #} {% ifapp watchlist %} {% if form.subscribe %} {# using CommentForm feature for detection if user is already subscribed to object #} {% else %} {% endif %} {% endifapp %} {% trans "Comment post" %}
{% endif %} {% endblock %} {% endblock %}