pdnew/themes/default/templates/renderable/commentable.html

40 lines
779 B
HTML

{% extends 'default/templates/renderable/taggable.html' %}
{% block header %}
{{ super() }}
{% if not content.published %}
<span class="warning unpublished" title="This {{ content._lowerclass }} has NOT been published."></span>
{% endif %}
{% endblock %}
{% block meta_header %}
<span class="created">{{ content.created|prettydate }}</span>
{{ super() }}
{% endblock %}
{% block footer %}
{{ super() }}
{% if mode == 'full' and content.comment_enabled %}
<div class="comments">
<h2>Comments</h2>
{{ content.comment_form().render() }}
{% for comment in content.comments %}
{{ comment.render() }}
{% endfor %}
</div>
{% endif %}
{% endblock %}