{% load scipost_extras %} {% load filename %} {% load file_extentions %} {% load user_groups %} {% load automarkup %} {% is_ed_admin request.user as is_ed_admin %} {% is_active_fellow request.user as is_active_fellow %}
{% include 'comments/_comment_identifier.html' with comment=comment %} {% include 'comments/_comment_categories.html' with comment=comment %}

{{ comment.comment_text|automarkup }}

{% if comment.file_attachment %}

Attachment:

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

{% endif %} {% if is_active_fellow or is_ed_admin %} {% if comment.remarks_for_editors %}
Remarks for editors (not publicly visible)
{{ comment.remarks_for_editors|automarkup }}
{% 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 %}