Finished >2 attributions support
This commit is contained in:
parent
67b56edc33
commit
4596d588e9
1 changed files with 2 additions and 6 deletions
|
@ -2,9 +2,6 @@
|
|||
|
||||
{% block realcontent %}
|
||||
<h2>{{ spectacle }}</h2>
|
||||
{% for message in messages %}
|
||||
<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">
|
||||
<thead>
|
||||
|
@ -50,8 +47,7 @@
|
|||
<br>
|
||||
<button type="button" onclick="toggle('export-salle')">Afficher/Cacher liste noms</button>
|
||||
<pre id="export-salle" style="display:none">
|
||||
{% for participant in participants %}{{participant.name}}{% if participant.nb_places == 2 %}
|
||||
{{participant.name}}{%endif%}
|
||||
{% for participant in participants %}{{participant.name}} : {{participant.nb_places}} places
|
||||
{% endfor %}
|
||||
</pre>
|
||||
|
||||
|
|
Loading…
Reference in a new issue