{% load translations %} {% load i18n %} {% load permissions %} {% for comment in comments %}
{{ comment.get_user_display }} {{ comment.timestamp|naturaltime }} {% if comment.language %} {% trans "Translation comment" %} {% else %} {% trans "Source string comment" %} {% endif %}
{% can_delete_comment user comment as user_can_delete_comment %} {% if user_can_delete_comment %}
{% csrf_token %}
{% endif %}
{{ comment.comment|urlize|linebreaks }}
{% endfor %}