Enhance proposal fields display

* Display the "withdrawn" status
* Display extra information about exhibitions for art+tech
This commit is contained in:
James Polley 2017-12-13 12:00:35 +11:00
parent 21e06deef0
commit d19e34280a

View file

@ -1,6 +1,17 @@
{% load i18n %} {% load i18n %}
{% load lca2018_tags %} {% load lca2018_tags %}
<div>
<label class="col-sm-2 col-lg-2">Withdrawn</label>
<div class="col-sm-10 col-lg-10">
{% if proposal.cancelled %}
<p class="label-danger">WITHDRAWN</p>
{% else %}
<p class="label-success">Not withdrawn</p>
{% endif %}
</div>
</div>
<div> <div>
<label class="col-sm-2 col-lg-2">Submitted by</label> <label class="col-sm-2 col-lg-2">Submitted by</label>
<div class="col-sm-10 col-lg-10"> <div class="col-sm-10 col-lg-10">
@ -31,6 +42,28 @@
</div> </div>
{% endif %} {% endif %}
{% if proposal.can_exhibit %}
<div>
<label class="col-sm-2 col-lg-2">Can exhibit?</label>
<div class="col-sm-10 col-lg-10">
<p>{{ proposal.get_can_exhibit_display }}</p>
</div>
<div>
<label class="col-sm-2 col-lg-2">Exhibition Requirements</label>
<div class="col-sm-10 col-lg-10">
{% if proposal.exhibition_requirements %}
<div class="special_requirements monospace-text">{{ proposal.exhibition_requirements|safe }}</div>
{% else %}
<div class="special_requirements monospace-text"><b>No Special Talk Requirements Requested</b></div>
{% endif %}
</div>
&nbsp;
</div>
</div>
{% endif %}
{% if proposal.additional_speakers.all %} {% if proposal.additional_speakers.all %}
<div> <div>
<label class="col-sm-2 col-lg-2">Additional Speakers</label> <label class="col-sm-2 col-lg-2">Additional Speakers</label>