{% extends "orga/submission/base.html" %} {% load compress %} {% load i18n %} {% load rich_text %} {% load rules %} {% load static %} {% block submission_title %}{% translate "Reviews" %} :: {% endblock submission_title %} {% block scripts %} {{ block.super }} {# do not compress #} {% endblock scripts %} {% block submission_content %} {% has_perm "submission.view_all_reviews_submission" request.user submission as can_view_other_reviews %} {% has_perm "submission.list_reviewers_review" request.user submission as can_view_reviewer_names %} {% has_perm "person.reviewer_list_speakerprofile" request.user submission as no_anonymisation %} {% if request.user in submission.speakers.all %}
{% blocktranslate trimmed %} You’re not allowed to review or see reviews for your own proposals. {% endblocktranslate %}
{% else %} {% if not read_only %} {% if request.event.settings.review_help_text %}

{{ request.event.settings.review_help_text|rich_text }}

{% elif not form.instance.pk and not can_view_other_reviews and request.event.active_review_phase and request.event.active_review_phase.can_see_other_reviews == "after_review" %}

{% blocktranslate trimmed %} You will be able to see other reviews once you have given yours. {% endblocktranslate %}

{% endif %} {% endif %}
{% csrf_token %} {% include "common/forms/errors.html" %}
{% if no_anonymisation %} {{ submission.title|default:"-" }} {% else %} {{ submission.anonymised.title|default:submission.title|default:"-" }} {% endif %}
{{ submission.submission_type }}
{% if submission.track %}
{{ submission.track.name|default:"-" }}
{% endif %} {% if request.event.cfp.request_abstract %}
{% if no_anonymisation %} {{ submission.abstract|rich_text|default:"-" }} {% else %} {{ submission.anonymised.abstract|default:submission.abstract|rich_text|default:"-" }} {% endif %}
{% endif %} {% if request.event.cfp.request_description %}
{% if no_anonymisation %} {{ submission.description|rich_text|default:"-" }} {% else %} {{ submission.anonymised.description|default:submission.description|rich_text|default:"-" }} {% endif %}
{% endif %} {% if request.event.cfp.request_notes %}
{% if no_anonymisation %} {{ submission.notes|rich_text|default:"-" }} {% else %} {{ submission.anonymised.notes|default:submission.notes|rich_text|default:"-" }} {% endif %}
{% endif %} {% for answer in submission.reviewer_answers %}
{% include "common/question_answer.html" with answer=answer %}
{% endfor %} {% if no_anonymisation %} {% if submission.active_resources %}
{% for resource in submission.active_resources %} {% include "agenda/includes/submission_resource.html" %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% endif %} {% endif %} {% if no_anonymisation %} {% for speaker in profiles %}
{% if request.event.cfp.request_biography %} {{ speaker.biography|default:"-"|rich_text }} {% endif %} {% if speaker.submissions.count > 1 %}
{% translate "Other proposals" %}:
    {% for other_submission in speaker.submissions %}{% if other_submission != submission %}
  • {{ other_submission.title }} {% include "cfp/event/fragment_state.html" with state=other_submission.state as_badge=True %}
  • {% endif %}{% endfor %}
{% endif %}
{% endfor %} {% endif %} {% if not read_only %} {% if tags_form %}{{ tags_form }}{% endif %}
{% for score_field in form.get_score_fields %} {{ score_field.as_field_group }} {% endfor %} {{ qform }} {{ form.text.as_field_group }}
{% endif %} {% if can_view_other_reviews or form.instance.pk %}
{% if score_categories|length > 1 %} {% for cat in score_categories %}{% endfor %} {% endif %} {% for field in qform %}{% endfor %} {% if form.instance.pk and review_display %} {% include "orga/submission/review_fragment.html" with review=review_display read_only=read_only show_reviewer_name=False %} {% endif %} {% if can_view_other_reviews %} {% for review in reviews %} {% include "orga/submission/review_fragment.html" with review=review read_only=True show_reviewer_name=can_view_reviewer_names %} {% empty %} {% endfor %} {% endif %}
{% translate "Score" %}{{ cat.name }}{{ field.label }}{% translate "Review" %}
{% translate "Nobody else has submitted a review yet." %}
{% endif %} {% if not read_only %} {% if done != total_reviews %}
{% endif %}
{% if not request.event.review_settings.score_mandatory and not request.event.review_settings.text_mandatory %} {% endif %}
{% if form.instance.pk %} {% translate "Delete review" %} {% endif %}
{% endif %}
{% endif %} {# endif: request.user in submission.speakers #} {% endblock submission_content %}