{% extends 'blawg/base.html' %} {% load static %} {% load i18n %} {% load mptt_tags %} {% block title %}{{ entry }}{% endblock %} {% block head %} {{ block.super }} {% endblock %} {% block main %} {% trans 'Anonymous' as anonymous %} {% trans 'Delete' as delete %}

{{ entry }}

{% if messages %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}

{% with year=entry.created|date:'Y' month=entry.created|date:'m' day=entry.created|date:'d' %} {{ day }} {{ entry.created|date:'M' }} {{ year }}, {% endwith %} {{ entry.created|date:'H:i' }}

{{ entry.content|linebreaks }}

{% trans 'Edited' %} {{ entry.modified|date:'d M Y, H:i' }}

{% if can_comment %} {% trans 'Name' as name %} {% trans 'Reply' as reply %} {% trans 'Edit' as edit %} {% trans 'Edited' as edited %}
{% if not user.is_authenticated %}

{% endif %}
{% endif %} {% if nodes %}

{% trans 'Comments' %}

{% recursetree nodes %}

{% if node.user %} {{ node.user }} {% else %} {% if node.guest_name %} {{ node.guest_name }} {% else %} {{ anonymous }} {% endif %} {% endif %} {{ node.created|date:'d M Y, H:i' }}

{{ node.content|linebreaksbr }}
{% if node.modified != node.created %}

{{ edited }} {{ node.modified|date:'d M Y, H:i' }}

{% endif %} {% if can_comment %}

{{ reply }}

{% endif %} {% if user == node.user %}

{{ edit }}

{% endif %} {% if user == blog.user or user == node.user %}

{{ delete }}

{% endif %}
{% if not node.is_leaf_node %}
{{ children }}
{% endif %}
{% endrecursetree %}
{% endif %} {% endblock %}