symposion_app/pinaxcon/templates/symposion/proposals/_proposal_fields.html
Christopher Neugebauer 9c986111a1 Updates proposal forms and review template (#14)
* Updates the forms and models for Proposal Bases

* Proposal review templates only display fields relevant to LCA

* Display total votes properly
2016-06-21 09:58:27 +10:00

73 lines
2.5 KiB
HTML

{% load i18n %}
<dl class="dl-horizontal">
<dt>{% trans "Submitted by" %}</dt>
<dd>{{ proposal.speaker }}</dd>
<dt>{% trans "Target Audience" %}</dt>
<dd>{{ proposal.get_target_audience_display }}&nbsp;</dd>
{% if proposal.additional_speakers.all %}
<dt>{% trans "Additional Speakers" %}</dt>
<dd>
{% for speaker in proposal.additional_speakers.all %}
<li>
{% if speaker.user %}
<strong>{{ speaker.name }}</strong> &lt;{{ speaker.email }}&gt;
{% else %}
{{ speaker.email }} ({% trans "Invitation Sent" %})
{% endif %}
</li>
{% endfor %}
</dd>
{% endif %}
<dt>{% trans "Abstract" %}</dt>
<dd>{{ proposal.abstract_html|safe }}&nbsp;</dd>
<dt>{% trans "Private Abstract" %}</dt>
<dd>{{ proposal.private_abstract_html|safe }}&nbsp;</dd>
<dt>{% trans "Project" %}</dt>
<dd>{{ proposal.project|safe }}&nbsp;</dd>
<dt>{% trans "Project URL" %}</dt>
<dd><a href="{{ proposal.project_url|safe }}">{{ proposal.project_url|safe }}</a></dd>
<dt>{% trans "Video URL" %}</dt>
<dd><a href="{{ proposal.video_url|safe }}">{{ proposal.video_url|safe }}</a></dd>
<dt>{% trans "Special Requirements" %}</dt>
<dd>{{ proposal.technical_requirements_html|safe }}&nbsp;</dd>
<dt>{% trans "Speaker Bio" %}</dt>
<dd>{{ proposal.speaker.biography_html|safe }}&nbsp;</dd>
<dt>{% trans "Documents" %}</dt>
<dd>
{% if proposal.supporting_documents.exists %}
<table class="table table-striped">
{% for document in proposal.supporting_documents.all %}
<tr>
<td><a href="{{ document.download_url }}">{{ document.description }}</a></td>
<td>
<form style="margin: 0;" method="post" action="{% url "proposal_document_delete" document.pk %}">
{% csrf_token %}
<button type="submit" class="btn btn-xs">delete</button>
</form>
</td>
</tr>
{% endfor %}
</table>
{% else %}
No supporting documents attached to this proposal.
{% endif %}
</dd>
<dt>{% trans "Recording Release" %}</dt>
<dd>{{ proposal.recording_release }}&nbsp;</dd>
<dt>{% trans "Materials Release" %}</dt>
<dd>{{ proposal.materials_release }}&nbsp;</dd>
</dl>