2015-10-16 17:53:02 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
<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">{% trans 'Cancelled' %}</span>
|
|
|
|
{% else %}
|
|
|
|
{% if request.user == proposal.speaker.user %}
|
|
|
|
{% if proposal.result.status == "accepted" %}
|
|
|
|
<span class="label label-success">{% trans 'Accepted' %}</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="label label-default">{% trans 'Submitted' %}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<span class="label label-default">{% trans 'Invited' %}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
2016-06-27 03:26:26 +00:00
|
|
|
{% if not proposal.cancelled %}
|
|
|
|
<ul>
|
|
|
|
<li><a href="{% url "proposal_pending_join" proposal.id %}">
|
|
|
|
{% trans 'Accept invitation' %}</a></li>
|
|
|
|
<li><a href="{% url "proposal_pending_decline" proposal.id
|
|
|
|
%}">{% trans 'Decline invitation' %}</a></li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2015-10-16 17:53:02 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|