Finished >2 attributions support
This commit is contained in:
parent
67b56edc33
commit
4596d588e9
1 changed files with 2 additions and 6 deletions
|
@ -2,10 +2,7 @@
|
||||||
|
|
||||||
{% block realcontent %}
|
{% block realcontent %}
|
||||||
<h2>{{ spectacle }}</h2>
|
<h2>{{ spectacle }}</h2>
|
||||||
{% for message in messages %}
|
<h3><a href="{% url "admin:bda_attribution_add" %}?spectacle={{spectacle.id}}">Ajouter une attribution</a></h3>
|
||||||
<h2 class="{{message.tags}}" align="center">{{ message }}</h2>
|
|
||||||
{% endfor %}
|
|
||||||
<h3><a href="{% url "admin:bda_attribution_add" %}?spectacle={{spectacle.id}}">Ajouter une attribution</a></h3>
|
|
||||||
<table class='etat-bda' align="center">
|
<table class='etat-bda' align="center">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -50,8 +47,7 @@
|
||||||
<br>
|
<br>
|
||||||
<button type="button" onclick="toggle('export-salle')">Afficher/Cacher liste noms</button>
|
<button type="button" onclick="toggle('export-salle')">Afficher/Cacher liste noms</button>
|
||||||
<pre id="export-salle" style="display:none">
|
<pre id="export-salle" style="display:none">
|
||||||
{% for participant in participants %}{{participant.name}}{% if participant.nb_places == 2 %}
|
{% for participant in participants %}{{participant.name}} : {{participant.nb_places}} places
|
||||||
{{participant.name}}{%endif%}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue