2013-09-05 22:21:32 +02:00
|
|
|
{% extends "base_title.html" %}
|
2016-07-27 14:00:38 +02:00
|
|
|
{% load staticfiles %}
|
2013-09-05 22:21:32 +02:00
|
|
|
|
2017-02-10 19:58:22 +01:00
|
|
|
{% block extra_head %}
|
2019-10-16 20:25:00 +02:00
|
|
|
<link type="text/css" rel="stylesheet" href="{% static "bda/css/bda.css" %}" />
|
2017-02-10 19:58:22 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2013-09-05 22:21:32 +02:00
|
|
|
{% block realcontent %}
|
2016-06-13 16:53:01 +02:00
|
|
|
<h2><strong>{{tirage_name}}</strong></h2>
|
|
|
|
<h3>Liste des spectacles</h3>
|
2016-07-27 14:00:38 +02:00
|
|
|
|
|
|
|
|
2016-07-27 15:29:06 +02:00
|
|
|
<table class="table table-striped table-hover etat-bda">
|
2016-07-27 14:00:38 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th data-sort="string">Titre</th>
|
|
|
|
<th data-sort="int">Date</th>
|
|
|
|
<th data-sort="string">Lieu</th>
|
|
|
|
<th data-sort="float">Prix</th>
|
2019-02-04 20:58:53 +01:00
|
|
|
</tr>
|
2016-07-27 14:00:38 +02:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for spectacle in object_list %}
|
2019-02-04 20:58:53 +01:00
|
|
|
<tr class="clickable-row {% if spectacle.is_past %}spectacle-passe{% endif %}" data-href="{% url 'bda-spectacle' tirage_id spectacle.id %}">
|
2016-07-27 14:00:38 +02:00
|
|
|
<td><a href="{% url 'bda-spectacle' tirage_id spectacle.id %}">{{ spectacle.title }} <span style="font-size:small;" class="glyphicon glyphicon-link" aria-hidden="true"></span></a></td>
|
2017-02-10 19:58:22 +01:00
|
|
|
<td data-sort-value="{{ spectacle.timestamp }}"">{{ spectacle.date }}</td>
|
2016-07-27 14:00:38 +02:00
|
|
|
<td data-sort-value="{{ spectacle.location }}">{{ spectacle.location }}</td>
|
2016-07-27 15:29:06 +02:00
|
|
|
<td data-sort-value="{{ spectacle.price |stringformat:".3f" }}">
|
2016-07-27 14:00:38 +02:00
|
|
|
{{ spectacle.price |floatformat }}€
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2016-08-31 00:03:04 +02:00
|
|
|
</tbody>
|
2016-07-27 14:00:38 +02:00
|
|
|
</table>
|
2019-02-12 15:27:53 +01:00
|
|
|
|
2016-07-27 14:00:38 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
|
|
$("table.etat-bda").stupidtable();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
jQuery(document).ready(function($) {
|
2016-08-31 00:03:04 +02:00
|
|
|
$(".clickable-row").click(function() {
|
|
|
|
window.document.location = $(this).data("href");
|
|
|
|
});
|
2016-07-27 14:00:38 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2016-06-13 16:53:01 +02:00
|
|
|
<h3> Exports </h3>
|
2016-06-12 18:39:47 +02:00
|
|
|
<ul>
|
|
|
|
<li><a href="{% url 'bda-unpaid' tirage_id %}">Mailing list impayés</a>
|
|
|
|
</ul>
|
2013-09-05 22:21:32 +02:00
|
|
|
{% endblock %}
|