{% extends 'scipost/base.html' %} {% block pagetitle %}: Commentary detail{% endblock pagetitle %} {% block headsup %} {% endblock headsup %} {% block bodysup %} {% if user.is_authenticated %} SciPost Commentary Page (non-SciPost publications) Original publication: {{ commentary.header_as_table|safe }} Abstract: {{ commentary.pub_abstract }} {% if reports %} Reports on this publication {% endif %} {% if comments %} Comments on this publication Toggle comments view {% for comment in comments %} {{ comment.print_identifier|safe }} {{ comment.categories_as_ul|safe }} {% if user.is_authenticated and user.contributor.rank > 0 and user.contributor != comment.author %} {% csrf_token %} {{ opinion_form }} {% endif %} {{ comment.opinions_as_ul|safe }} {{ comment.comment_text|linebreaks }} {% for reply in author_replies %} {% if reply.in_reply_to_comment.id = comment.id %} {{ reply.print_identifier|safe }} {{ reply.reply_text|linebreaks }} {% endif %} {% endfor %} {% if user.is_authenticated and user.contributor.rank > 0 %} Reply to this comment (Author) Reply to this comment (Contributor) {% endif %} {% endfor %} {% endif %} {% if user.is_authenticated and commentary.open_for_commenting and user.contributor.rank > 0 %} Contribute a Comment: {% csrf_token %} {% load crispy_forms_tags %} {% crispy form %} {% endif %} {% endif %} {% endblock bodysup %}
{{ commentary.pub_abstract }}
{{ comment.comment_text|linebreaks }}
{{ reply.reply_text|linebreaks }}
{{ comment.comment_text|linebreaks }}
{{ reply.reply_text|linebreaks }}
Reply to this comment (Author)
Reply to this comment (Contributor)