2016-06-27 21:56:27 +00:00
|
|
|
<h4>
|
|
|
|
{{ proposal.title }}
|
|
|
|
</h4>
|
2015-10-16 17:53:02 +00:00
|
|
|
|
2016-06-27 21:56:27 +00:00
|
|
|
<ul>
|
|
|
|
<li><strong>Type:</strong> {{ proposal.kind.name }}</li>
|
|
|
|
<li>
|
|
|
|
<strong>Status:</strong>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% if proposal.cancelled %}
|
|
|
|
<span class="label label-danger">Cancelled</span>
|
|
|
|
{% else %}
|
|
|
|
{% if request.user == proposal.speaker.user %}
|
|
|
|
{% if proposal.result.status == "accepted" %}
|
|
|
|
<span class="label label-success">Accepted</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="label label-default">Submitted</span>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<span class="label label-default">Associated</span>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2016-06-27 21:56:27 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-10-16 17:53:02 +00:00
|
|
|
|
2016-06-27 21:56:27 +00:00
|
|
|
<div class="btn-group">
|
|
|
|
<a href="{% url "proposal_detail" proposal.pk %}" class="btn btn__compact">View details</a>
|
|
|
|
{% if not proposal.cancelled %}
|
|
|
|
{% if request.user == proposal.speaker.user and proposal.can_edit %}
|
|
|
|
<a href="{% url "proposal_edit" proposal.pk %}" class="btn btn__compact">Edit</a>
|
|
|
|
<a href="{% url "proposal_speaker_manage" proposal.id %}" class="btn btn__compact">Manage Additional Speakers</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br/>
|