{% load i18n static %} {% load check_permissions %}

{% blocktranslate count counter=comments|length trimmed %} Comment {% plural %} Comments {% endblocktranslate %} {% if user|can_add_mlgr %}     {% translate 'Add' %} {% endif %}

{% if user|can_add_mlgr %} {% endif %} {% for comment in comments %}
#{{ forloop.counter }} {# TODO: handle multiple descriptions? #} {% with description=comment.descriptions.first %}
{{ description.description_html }}
{% if user|can_change:comment %}     {% translate 'Edit' %} {% endif %} {% if user|can_delete:comment %}     {% translate 'Remove' %} {% endif %}
{% if user|can_change:comment %} {% endif %} {% if user|can_delete:comment %} {% endif %} {% endwith %}
{% endfor %}