{% 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" %} {% theme_js "jquery.form" %} {% theme_js "ajaxforms" %} {% ifapp pingback %}{% endifapp %} {% revcanonical object %} {% endblock %} {% block content %} {% include "blog/post_entry.html" %}
{% trans "Add comment" %} {% if object.pingback_count %}

{% trans "Pingbacks" %}

{% for pingback in object.pingbacks.all %}
{{ pingback.title }} @{{ pingback.get_host }} {{ pingback.date|date }} {{ pingback.date|time }}
{{ pingback.content|typogrify|safe }}
{% endfor %}
{% endif %} {% comment_tree_for_object object as comments %}

{% trans "Comments" %}

{% if not comments %}
{% trans "No comments for this post" %}
{% endif %} {% for comment in comments %}
{% link comment.user %} {{ comment.pub_date|date }} {{ comment.pub_date|time }}
{% if GRAVATAR_ENABLE %}avatar{% endif %}{{ comment.body_html|safe }}
{% if object.comments_open %} {% trans "reply" %} {% endif %} {% ifequal user comment.user %} {% trans "edit" %} {% trans "cancel" %} {% endifequal %} {% if user.is_staff %} {% trans "delete" %} {% endif %} {% if object.comments_open %}{% ifequal reply_to comment.id %} {% include "blog/comment_form.html" %} {% endifequal %}{% endif %}
{% endfor %} {% if object.comments_open %}{% if not reply_to %} {% include "blog/comment_form.html" %} {% endif %}{% endif %}
{% endblock %}