{% 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 %}
{{ comment.comment_text|linebreaksbr }}
{% if comment.file_attachment|is_image %} {% else %} {{ comment.file_attachment|filename }} {% endif %}
{{ comment.remarks_for_editors|linebreaksbr }}
{{ comment.comment_text|linebreaksbr }}
{% if comment.file_attachment %}Attachment:
{% if comment.file_attachment|is_image %}
{% else %}
{{ comment.file_attachment|filename }}
{% endif %}
{% endif %} {% if is_editorial_college or is_edcol_admin %} {% if comment.remarks_for_editors %}Remarks for editors:
{{ comment.remarks_for_editors|linebreaksbr }}
{% 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 %}