symposion_app/symposion/templates/proposals/_proposal_fields.html

61 lines
2 KiB
HTML
Raw Normal View History

2012-08-14 07:49:57 +00:00
{% load i18n %}
<dl class="dl-horizontal">
<dt>{% trans "Submitted by" %}</dt>
<dd>{{ proposal.speaker }}</dd>
2014-07-05 13:46:01 +00:00
2012-08-14 07:49:57 +00:00
<dt>{% trans "Track" %}</dt>
<dd>{{ proposal.track }}&nbsp;</dd>
2014-07-05 13:46:01 +00:00
<dt>{% trans "Audience Level" %}</dt>
<dd>{{ proposal.get_audience_level_display }}&nbsp;</dd>
2014-07-05 13:46:01 +00:00
2012-08-14 07:49:57 +00:00
{% if proposal.additional_speakers.all %}
2012-08-22 22:29:12 +00:00
<dt>{% trans "Additional Speakers" %}</dt>
2012-08-14 07:49:57 +00:00
<dd>
{% for speaker in proposal.additional_speakers.all %}
<li>
{% if speaker.user %}
2012-08-14 21:20:17 +00:00
<strong>{{ speaker.name }}</strong> &lt;{{ speaker.email }}&gt;
2012-08-14 07:49:57 +00:00
{% else %}
{{ speaker.email }} ({% trans "Invitation Sent" %})
{% endif %}
</li>
{% endfor %}
</dd>
{% endif %}
2014-07-05 13:46:01 +00:00
2012-08-14 07:49:57 +00:00
<dt>{% trans "Description" %}</dt>
<dd>{{ proposal.description }}&nbsp;</dd>
2014-07-05 13:46:01 +00:00
2012-08-14 07:49:57 +00:00
<dt>{% trans "Abstract" %}</dt>
<dd>{{ proposal.abstract|safe }}&nbsp;</dd>
2014-07-05 13:46:01 +00:00
2012-08-14 07:49:57 +00:00
<dt>{% trans "Notes" %}</dt>
<dd>{{ proposal.additional_notes|safe }}&nbsp;</dd>
2014-07-05 13:46:01 +00:00
<dt>{% trans "Speaker Bio" %}</dt>
<dd>{{ proposal.speaker.biography|safe }}&nbsp;</dd>
2014-07-05 13:46:01 +00:00
2012-08-14 21:21:47 +00:00
<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>
2014-07-05 13:46:01 +00:00
<form style="margin: 0;" method="post" action="{% url "proposal_document_delete" document.pk %}">
2012-08-14 21:21:47 +00:00
{% csrf_token %}
<button type="submit" class="btn btn-mini">delete</button>
</form>
</td>
</tr>
{% endfor %}
</table>
{% else %}
No supporting documents attached to this proposal.
{% endif %}
</dd>
2012-08-14 07:49:57 +00:00
</dl>