2015-10-16 17:53:02 +00:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="{% url "proposal_detail" proposal.pk %}">{{ proposal.title }}</a>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>{{ proposal.kind.name }}</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{% 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 %}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{% if not proposal.cancelled %}
|
|
|
|
{% if request.user == proposal.speaker.user and proposal.can_edit %}
|
2016-06-27 03:26:26 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href="{% url "proposal_edit" proposal.pk %}"><i class="fa fa-pencil"></i> Edit</a></li>
|
|
|
|
<li><a href="{% url "proposal_speaker_manage" proposal.id %}"><i class="fa fa-user"></i> Manage Additional Speakers</a></li>
|
|
|
|
</ul>
|
2015-10-16 17:53:02 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|