{% load i18n %}

{% trans "Comments" %}{% if comments.count %} ({{ comments.count }}){% endif %}

{% if comments.notice == "pending" %}

{% trans "Your comment was received and will be shown after the administrator approves it." %}

{% endif %} {% if comments.notice == "ok" %}

{% trans "Your comment was published." %}

{% endif %} {% if comments.items %}
    {% for c in comments.items %}{% include "partials/comment.html" with c=c %}{% endfor %}
{% else %}

{% trans "No comment has been posted yet." %}

{% endif %} {% if comments.open %}

{% if comments.reply_to_id %}{% blocktrans trimmed with reply_to_name=comments.reply_to_name %}Reply to {{ reply_to_name }}{% endblocktrans %} {% trans "Cancel" %}{% else %}{% trans "Write your comment" %}{% endif %}

{% if comments.errors.form %}{% endif %} {% if comments.reply_to_id %}{% endif %}
{% if comments.errors.name %}{% endif %}
{% if comments.errors.email %}{% endif %}
{% if comments.errors.body %}{% endif %}
{% else %}

{% trans "Comments are closed for this post." %}

{% endif %}