symposion_app/pinaxcon/templates/symposion/proposals/_proposal_fields.html
Christopher Neugebauer ecabf31e54 Assorted fixes (#47)
* Invokes the site tree fix from previous fixes.

* Adds a disclaimer noting that previous years’ accounts have not been carried over.

Fixes #43

* Adds proposal type to the proposal summary page.

Fixes #40

* Adds travel/accommodation assistance to the proposals page, but makes it only visible to speakers in the proposal, or review managers.

Fixes #41.
Fixes #42.

* Reduces a lot of the whitespace in the header and footer.

Fixes #44

* Proposals review page now shows information for every speaker on a proposal.

Fixes #45

* Makes sure that non_field_errors are displayed by forms.

Fixes #37
2016-07-09 23:14:31 +10:00

115 lines
3.9 KiB
HTML

{% load i18n %}
{% load lca2017_tags %}
<h4>{% trans "Submitted by" %}</h4>
<p>{{ proposal.speaker }}</p>
<h4>{% trans "Proposal Type" %}</h4>
<p>{{ proposal.kind.name|capfirst }}</p>
<h4>{% trans "Target Audience" %}</h4>
<p>{{ proposal.get_target_audience_display }}&nbsp;</p>
{% if proposal.additional_speakers.all %}
<h4>{% trans "Additional Speakers" %}</h4>
<ul>
{% 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 %}
</ul>
<p></p>
{% endif %}
<h4>{% trans "Abstract" %}</h4>
<div class="abstract">{{ proposal.abstract_html|safe }}&nbsp;</div>
<h4>{% trans "Private Abstract" %}</h4>
<div class="private_abstract">{{ proposal.private_abstract_html|safe }}&nbsp;</div>
<h4>{% trans "Project" %}</h4>
<p>{{ proposal.project|safe }}&nbsp;</p>
<h4>{% trans "Project URL" %}</h4>
<p><a href="{{ proposal.project_url|safe }}">{{ proposal.project_url|safe }}</a>&nbsp;</p>
<h4>{% trans "Video URL" %}</h4>
<p><a href="{{ proposal.video_url|safe }}">{{ proposal.video_url|safe }}</a>&nbsp;</p>
<h4>{% trans "Special Requirements" %}</h4>
<div class="special_requirements">{{ proposal.technical_requirements_html|safe }}</div>
{% for speaker in proposal.speakers %}
<h4>{% trans "Speaker:" %} {{ speaker.name }}</h4>
<h5>{% trans "Biography" %}</h5>
<div class="biography">{{ proposal.speaker.biography_html|safe }}&nbsp;</div>
<h5>{% trans "Experience" %}</h5>
<div class="biography">{{ proposal.speaker.experience_html|safe }}&nbsp;</div>
{% endfor %}
{% if can_manage_proposal or request.user.speaker_profile in proposal.speakers %}
<h4>{% trans "Assistance required?" %}</h4>
<br />
<table>
<tr>
<th></th>
<th>{% trans "Travel" %}</th>
<th>{% trans "Accommodation" %}</th>
</tr>
{% for speaker in proposal.speakers %}
<tr>
<td>{{ speaker.name }}</td>
<td>{{ speaker.travel_assistance }}</td>
<td>{{ speaker.accommodation_assistance }}</td>
</tr>
{% endfor %}
</table>
<br />
{% if proposal.speaker.accessibility_html %}
<h4>{% trans "Speaker Accessibility Requirements" %}</h4>
{% for speaker in proposal.speakers %}
{% if speaker.accessibility_html %}
<h5>{{ speaker.name }}</h5>
<div class="biography">{{ speaker.accessibility_html|safe }}&nbsp;</div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
<h4>{% trans "Documents" %}</h4>
<div>
{% 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 %}
<p>No supporting documents attached to this proposal.</p>
{% endif %}
</div>
<h4>{% trans "Recording Release" %}</h4>
<p>{{ proposal.recording_release }}&nbsp;</p>
<h4>{% trans "Materials Release" %}</h4>
<p>{{ proposal.materials_release }}&nbsp;</p>