{% extends "orga/submission/base.html" %} {% load bootstrap4 %} {% load i18n %} {% load rich_text %} {% block submission_content %} {% if request.user in submission.speakers.all %}
{% blocktrans trimmed %} You're not allowed to review your own submissions. {% endblocktrans %}
{% else %}
{% if not read_only %} {{ request.event.settings.review_help_text|rich_text }} {% if not form.instance.pk %} {% blocktrans trimmed %} You will be able to see other reviews once you have given yours. {% endblocktrans %} {% endif %} {% else %} {% blocktrans trimmed %} This submission can no longer be reviewed, as a decision regarding its role in this event has already been made, or the review deadline is over. {% endblocktrans %} {% endif %}
{% csrf_token %} {% bootstrap_form_errors form %} {% bootstrap_form_errors qform %}
{{ submission.submission_type }}
{{ submission.abstract|rich_text|default:'-' }}
{{ submission.description|rich_text|default:'-' }}
{{ submission.notes|rich_text|default:'-' }}
{% for speaker in profiles %}
{{ speaker.biography|rich_text|default:'-' }} {% if speaker.submissions.count > 1 %}
{% trans "Other submissions" %}: {% for other_submission in speaker.submissions %}{% if other_submission != submission %} {{ other_submission.title }}{% if not forloop.last %}, {% endif %} {% endif %}{% endfor %} {% endif %}
{% endfor %} {% if not form.instance.pk and not read_only %} {% bootstrap_field form.score layout='event' %} {% bootstrap_form qform layout='event' %} {% bootstrap_field form.text layout='event' %}
{% if skip_for_now %} {% trans "Skip for now" %} {% endif %}
{% else %} {% for field in qform %} {% endfor %} {% if form.instance.pk or not read_only %} {% csrf_token %} {% for field in qform %} {% endfor %} {% endif %} {% for review in reviews %} {% if review != form.instance %} {% for answer in review.answers %} {% endfor %} {% endif %} {% endfor %}
{% trans "Points" %}{{ field.label }}{% trans "Review" %}
{% bootstrap_field form.score layout="inline" %}{% bootstrap_field field layout="inline" %}{% bootstrap_field form.text layout="inline" %} {% if not read_only %}
{{ review.score }} {{ answer.answer }} {{ review.text }} {{ review.user }}
{% endif %}
{% endif %} {% endblock %}