{% load i18n %} {% load lfc_tags %} {% ifhasperm edit %}

{{ form.allow_comments.label_tag }}

{{ form.allow_comments }}

{% trans 'Comments' %}

{% if comments %}
{% for comment in comments %} {% endfor %}
{% trans 'Name' %} {% trans 'URL' %} {% trans 'Comment' %} {% trans 'Public' %} {% trans 'Edit' %}
{% if comment.email %} {{ comment.name }} {% else %} {{ comment.name }} {% endif %} {% if comment.user_url %} {{ comment.user_url }} {% endif %} {{ comment.comment|truncatewords:6 }} {% trans 'Edit' %}
{% else %} {% trans 'There are no comments' %} {% endif %} {% else %}

{% trans 'Allow comments' %}

{{ obj.get_allow_comments_display }}

{% trans 'Comments' %}

{% if comments %} {% for comment in comments %} {% endfor %}
{% trans 'Name' %} {% trans 'Public' %}
{{ comment.name }} {% if comment.is_public %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}
{% else %} {% trans 'There are no comments' %} {% endif %} {% endifhasperm %}