symposion_app/pinaxcon/templates/symposion/proposals/_proposal_fields.html

74 lines
2.5 KiB
HTML
Raw Normal View History

{% 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>
2016-04-04 23:36:01 +00:00
<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>