{% extends 'dashboard_base.html' %} {% load i18n staticfiles %} {% load compress crispy_forms_tags %} {% load review_tools %} {% block title %}{% blocktrans with proposal_title=proposal.title %}{{ proposal_title }} | Reviews{% endblocktrans %} {% endblock title %} {% block extra_css %} {% endblock extra_css %} {% block dashboard_tablist %} {% include '_includes/dashboard_tablist.html' with active='review' %} {% endblock dashboard_tablist %} {% block main-content %} {# Current proposal. #}

{{ proposal.title }}

{% if review_stage == 2 %}

{% trans 'Submitter' %}

{{ proposal.submitter.speaker_name }}
{% endif %}

{% trans 'Category' %}

{% line_diff proposal.get_category_display snapshot.get_category_display %}

{% trans 'Duration' %}

{% line_diff proposal.get_duration_display snapshot.get_duration_display %}

{% trans 'Language' %}

{% line_diff proposal.get_language_display snapshot.get_language_display %}

{% trans 'Abstract' %}

{% include 'reviews/_includes/review_proposal_text_field.html' with current=proposal.abstract snapshot=snapshot.abstract field="abstract" only %}

{% trans 'Python level' %}

{% line_diff proposal.get_python_level_display snapshot.get_python_level_display %}

{% trans 'Objective' %}

{% include 'reviews/_includes/review_proposal_text_field.html' with current=proposal.objective snapshot=snapshot.objective field="objective" only %} {% if proposal.detailed_description %}

{% trans 'Detailed description' %}

{% include 'reviews/_includes/review_proposal_markdown_field.html' with current=proposal.detailed_description snapshot=snapshot.detailed_description field='detailed_description' only %} {% endif %} {% if proposal.outline %}

{% trans 'Outline' %}

{% include 'reviews/_includes/review_proposal_markdown_field.html' with current=proposal.outline snapshot=snapshot.outline field='outline' only %} {% endif %} {% if review_stage == 2 and proposal.supplementary %}

{% trans 'Supplementary' %}

{% include 'reviews/_includes/review_proposal_markdown_field.html' with current=proposal.supplementary snapshot=snapshot.supplementary field='supplementary' only %} {% endif %}
{# Review table. #} {% if review_stage == 2 and other_reviews %}

{% trans 'Previous Reviews by Other Reviewers' %}

{% include 'reviews/_includes/previous_review_table.html' with reviews=other_reviews show_all_comments=True %}
{% endif %} {% if review_stage == 2 and my_reviews %}

{% trans 'My Previous Reviews' %}

{% include 'reviews/_includes/previous_review_table.html' with reviews=my_reviews show_all_comments=True %}
{% endif %} {% if proposal.accepted == None %}

{% trans 'Review Proposal' %}

{% csrf_token %} {{ form|crispy }}
{% endif %} {% endblock main-content %} {% block extra_js %} {{ block.super }} {% compress js %} {% endcompress %} {% endblock extra_js %}