252697b842
Upgrade site and modules to Django 2.2. Remove and replace obsolete functionality with current equivalents. Update requirements to latest versions where possible. Remove unused dependencies.
81 lines
2.2 KiB
HTML
81 lines
2.2 KiB
HTML
{% extends "site_base.html" %}
|
|
{% load static %}
|
|
|
|
{% load bootstrap %}
|
|
|
|
{% block body_class %}review{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="l-content-page">
|
|
<div class="l-content-page--richtext">
|
|
<div class="rich-text">
|
|
<h1>Proposal Review</h1>
|
|
|
|
<div class="proposal">
|
|
<h2>{{ proposal.title }}</h2>
|
|
|
|
<p>
|
|
{% if proposal.cancelled %}
|
|
Cancelled
|
|
{% endif %}
|
|
</p>
|
|
|
|
<div>
|
|
{{ proposal.description }}
|
|
</div>
|
|
|
|
<p><b>Type</b>: {{ proposal.get_session_type_display }}</p>
|
|
|
|
<h3>Abstract</h3>
|
|
<div class="abstract">
|
|
{{ proposal.abstract_html|safe }}
|
|
</div>
|
|
|
|
<p><b>Audience level</b>: {{ proposal.get_audience_level_display }}</p>
|
|
|
|
<p><b>Submitting speaker</b>: {{ proposal.speaker }}</p> {# @@@ bio? #}
|
|
|
|
{% if proposal.additional_speakers.all %}
|
|
<p><b>Additional speakers</b>:</p>
|
|
<ul>
|
|
{% for speaker in proposal.additional_speakers.all %}
|
|
{% if speaker.user %}
|
|
<li><b>{{ speaker.name }}</b> — {{ speaker.email }}</li>
|
|
{% else %}
|
|
<li>{{ speaker.email }} — pending invitation</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<h3>Additional Notes (private from submitter)</h3>
|
|
<div class="additional_notes">
|
|
{{ proposal.additional_notes }}
|
|
</div>
|
|
</div>
|
|
|
|
<h2>Review</h2>
|
|
|
|
<form method="POST" action="{% url "review_review" proposal.pk %}" class="form form-horizontal">
|
|
{% csrf_token %}
|
|
<fieldset class="inlineLabels">
|
|
{{ review_form|bootstrap }}
|
|
<div class="form_block">
|
|
<input type="submit" value="Submit" />
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<h2>Comment</h2>
|
|
|
|
<form method="POST" action="{% url "review_comment" proposal.pk %}" class="form form-horizontal">
|
|
{% csrf_token %}
|
|
<fieldset>
|
|
{{ comment_form|bootstrap }}
|
|
<div class="form_block">
|
|
<input type="submit" value="Submit" />
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div></div></div>
|
|
{% endblock %}
|