kpsul/bda/templates/bda-revente.html

34 lines
936 B
HTML
Raw Normal View History

2013-09-05 22:21:32 +02:00
{% extends "base_title.html" %}
{% load staticfiles %}
2013-09-05 22:21:32 +02:00
{% block realcontent %}
<h1>Revente de place</h1>
2016-07-23 22:22:17 +02:00
{% if no_resell %}
<h2>Places non revendues</h2>
<form action="" method="post">
{% csrf_token %}
<ol>
{% for attribution in no_resell %}
<li>{{attribution.spectacle}} <input type="checkbox" name="resell" value="{{attribution.id}}"></li>
{% endfor %}
</ol>
<input type="submit" value="Revendre les places sélectionnées">
</form>
{%endif%}
2016-07-24 00:48:05 +02:00
{% if resell %}
2016-07-23 22:22:17 +02:00
<h2>Places en cours de revente</h2>
<form action="" method="post">
2013-09-05 22:21:32 +02:00
{% csrf_token %}
2016-07-23 22:22:17 +02:00
<ol>
{% for attribution in resell %}
2016-07-24 00:48:05 +02:00
<form action="" method="post">
{% csrf_token %}
<input type="hidden" name="annul" value="{{attribution.id}}">
<li>{{attribution.spectacle}} {% if attribution.revente.cancellable %}<input type="submit" value="Supprimer">{%endif%}</li>
2016-07-23 22:22:17 +02:00
{% endfor %}
</ol>
2013-09-05 22:21:32 +02:00
</form>
2016-07-24 00:48:05 +02:00
{% endif %}
2013-09-05 22:21:32 +02:00
{% endblock %}