{% if comments %}

Comments on this publication

{% for comment in comments %}
{{ comment.print_identifier|safe }} {{ comment.categories_as_ul|safe }}
{% if user.is_authenticated and user.contributor.rank > 0 %} {% if user.contributor != comment.author %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% else %} {{ comment.opinions_as_ul|safe }} {% endif %} {% endif %}

{{ comment.comment_text|linebreaks }}

{% for reply in author_replies %} {% if reply.in_reply_to_comment %} {% if reply.in_reply_to_comment.id = comment.id %}

{{ reply.print_identifier|safe }} {{ reply.categories_as_ul|safe }}
{% if user.is_authenticated and user.contributor.rank > 0 %} {% if user.contributor != reply.author %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% else %} {{ reply.opinions_as_ul|safe }} {% endif %} {% endif %}

{{ reply.text|linebreaks }}

{% endif %} {% endif %} {% endfor %} {% if user.is_authenticated and user.contributor.rank > 0 %}

{% endif %} {% endfor %}
{% endif %}