{% load scipost_extras %} {% load filename %} {% load file_extentions %} {% load user_groups %} {% is_edcol_admin request.user as is_edcol_admin %} {% is_editorial_college request.user as is_editorial_college %}
{% include 'comments/_comment_identifier.html' with comment=comment %} {% include 'comments/_comment_categories.html' with comment=comment %} {% include 'comments/_comment_voting_form.html' with comment=comment perms=perms user=user %}

{{ comment.comment_text|linebreaksbr }} {% if comment.file_attachment %}

Attachment:

{% if comment.file_attachment|is_image %} {% else %} {{ comment.file_attachment|filename }}
{{ comment.file_attachment.size|filesizeformat }} {% endif %}

{% endif %}

{% if is_editorial_college or is_edcol_admin %} {% if comment.remarks_for_editors %}

Remarks for editors:

{{ comment.remarks_for_editors|linebreaks }}

{% endif %} {% endif %} {% for reply in comment.nested_comments.vetted %} {% include 'comments/_single_comment.html' with comment=reply perms=perms user=user %} {% endfor %} {% block comment_footer %}{% endblock %}