{% if report.anonymous %}
Anonymous Report {{ report.report_nr }}
{% else %}
Report {{ report.report_nr }} by {{ report.author.user.first_name }} {{ report.author.user.last_name }}
{% endif %}
on {{ report.date_submitted|date:'Y-n-j' }}
{% if report.report_type == 'report_post_edrec' %}
{% include 'bi/question-circle-fill.html' %}
{% endif %}
{% if report.invited %}
(Invited Report)
{% else %}
(Contributed Report)
{% endif %}
{% include 'permalink.html' with object=report %}
{% if user.is_authenticated %}
{% include 'helpdesk/_ticket_for_object_link.html' with object=report %}
{% endif %}
{% if report.anonymous %}
{% if user.contributor == submission.editor_in_charge or user|is_in_group:'Editorial Administrators' and not user|is_possible_author_of_submission:submission %}
{% if report.flagged %}
CAUTION: check if this referee has been flagged by the authors
{% endif %}
{% if user.contributor == submission.editor_in_charge or user|is_in_group:'Editorial Administrators' and not user|is_possible_author_of_submission:submission %}
N.B.: sections boxed in red are visible only to Editor-in-charge and EdAdmin
Qualification
{{ report.get_qualification_display}}
{% endif %}
{% include 'submissions/_report_content.html' with report=report %}
{% if user.contributor == submission.editor_in_charge or user|is_in_group:'Editorial Administrators' and not user|is_possible_author_of_submission:submission %}
Remarks for editors
{{ report.remarks_for_editors|default:'-' }}
{% if not report.recommendation_publicly_visible %}