Files
@ 7d18387670ca
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/proposals/_pending_proposal_row.html - annotation
7d18387670ca
1.5 KiB
text/html
If no boardingpass, make one
- Use the first template in the system
- If there's no template, use /tickets/review as it at least gives
- people an overview of what they've paid for and warns them of
missing categories
- Use the first template in the system
- If there's no template, use /tickets/review as it at least gives
- people an overview of what they've paid for and warns them of
missing categories
04f246d85071 04f246d85071 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 04f246d85071 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 04f246d85071 1886323d7431 04f246d85071 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 1886323d7431 04f246d85071 1886323d7431 1886323d7431 1886323d7431 1886323d7431 | {% load i18n %}
<div class="col-xs-12 col-sm-6 col-lg-6">
<div class="panel panel-warning"> <!-- Todo Make the colour relate to status of acceptance -->
<div class="panel-heading">
<h5>{{ proposal.title }}</h5>
</div>
<div class="panel-body">
<ul>
<li><strong>Type:</strong> {{ proposal.kind.name }}</li>
<li>
<strong>Status:</strong>
{% 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">Invited</span>
{% endif %}
{% endif %}
</li>
</ul>
<div>
<a class="btn btn-lg btn-primary" role="button" href="{% url "proposal_detail" proposal.pk %}">View Details</a>
{% if not proposal.cancelled %}
<a class="btn btn-lg btn-success" role="button" href="{% url "proposal_pending_join" proposal.id %}">Accept Copresenter Invitation</a>
<a class="btn btn-lg btn-danger" role="button" href="{% url "proposal_pending_decline" proposal.id %}">Decline Copresenter Invitation</a>
{% endif %}
</div>
</div>
</div>
</div>
|