{% endif %}
{% if user.contributor == submission.editor_in_charge %}
(You are the Editor-in-charge, go to the Editorial Page to take editorial actions)
{% endif %}
{% if other_versions %}
Other versions of this Submission exist:
{% for vn in other_versions %}
{{ vn.version_info_as_li }}
{% endfor %}
{% endif %}
Submission:
{{ submission.header_as_table }}
Abstract:
{{ submission.abstract }}
Status:
{{ submission.status_info_as_table }}
{% if is_author or user|is_in_group:'Editorial College' or user|is_in_group:'Editorial Administrators' %}
{% if recommendation %}
{% if user|is_in_group:'Editorial College' or user|is_in_group:'Editorial Administrators' or recommendation|is_viewable_by_authors %}
Editorial Recommendation
{{ recommendation.print_for_authors }}
{% endif %}
{% endif %}
{% endif %}
{% if user.is_authenticated and user|is_in_group:'Registered Contributors' %}
Actions
{% if submission.open_for_reporting %}
{% if perms.scipost.can_referee and not is_author and not is_author_unchecked %}
Deadline for reporting: {{ submission.reporting_deadline|date:"Y-m-d" }}
{% elif is_author_unchecked %}
Contribute a Report [deactivated]: the system flagged you as a potential author of this Submission.
Please go to your personal page
under the Submissions tab to clarify this.
{% endif %}
{% else %}
Reporting for this Submission is closed.
{% endif %}
{% if submission.open_for_commenting %}
{% if perms.scipost.can_submit_comments %}
{% for report in invited_reports %}
{% if user.contributor == submission.editor_in_charge or user|is_in_group:'Editorial Administrators' and not is_author or user|is_in_group:'Editorial Administrators' and not is_author_unchecked %}
{% if report.flagged %}
CAUTION: check if this referee has been flagged by the authors
{% if user.is_authenticated and perms.scipost.can_express_opinion_on_comments %}
{% if user.contributor != reply.author %}
{% else %}
{{ reply.opinions_as_ul }}
{% endif %}
{% endif %}
{{ reply.comment_text|linebreaks }}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% if contributed_reports %}
Contributed Reports on this Submission
{% for report in contributed_reports %}
{% if user.contributor == submission.editor_in_charge or user|is_in_group:'Editorial Administrators' and not is_author or user|is_in_group:'Editorial Administrators' and not is_author_unchecked %}
{% if report.flagged %}
CAUTION: check if this referee has been flagged by the authors
{% if user.is_authenticated and perms.scipost.can_express_opinion_on_comments %}
{% if user.contributor != reply.author %}
{% else %}
{{ reply.opinions_as_ul }}
{% endif %}
{% endif %}
{{ reply.comment_text|linebreaks }}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% include 'scipost/comments_block.html' %}
{% if user.is_authenticated and submission.open_for_commenting and perms.scipost.can_submit_comments %}