Files
@ 465c170e3d17
Branch filter:
Location: symposion_app/symposion/templates/proposals/_pending_proposal_row.html - annotation
465c170e3d17
1.4 KiB
text/html
Merge pull request #18 from trbs/master
allow dashes in slugs of schedule names
allow dashes in slugs of schedule names
245debcbf2cc 245debcbf2cc 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 245debcbf2cc 67bca7473b98 67bca7473b98 04228555827f 245debcbf2cc 67bca7473b98 245debcbf2cc 67bca7473b98 67bca7473b98 245debcbf2cc 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 245debcbf2cc 67bca7473b98 67bca7473b98 67bca7473b98 245debcbf2cc 245debcbf2cc 245debcbf2cc 245debcbf2cc 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 67bca7473b98 | {% 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-important">{% 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">{% trans 'Submitted' %}</span>
{% endif %}
{% else %}
<span class="label">{% trans 'Invited' %}</span>
{% endif %}
{% endif %}
</td>
<td>
{% if not proposal.cancelled %}
<div class="btn-group">
<a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#">
{% trans 'Choose Response' %}
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<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>
</div>
{% endif %}
</td>
</tr>
|