forked from DGNum/gestioCOF
Merge branch 'Aufinal/liste_spectacles' into Aufinal/view_spectacles
This commit is contained in:
commit
c7c5b5b40f
2 changed files with 16 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
|||
{% extends "base_title.html" %}
|
||||
{% load utils %}
|
||||
|
||||
{% block realcontent %}
|
||||
<h2>{{ spectacle }}</h2>
|
||||
|
@ -7,7 +6,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Clipper</th>
|
||||
<th>Identifiant</th>
|
||||
<th>Places</th>
|
||||
<th>Adresse Mail</th>
|
||||
<th>Payé</th>
|
||||
|
@ -18,7 +17,7 @@
|
|||
<tr>
|
||||
<td>{{participant.name}}</td>
|
||||
<td>{{participant.username}}</td>
|
||||
<td>{{participant.nb_places}} place{{participant.nb_places|pluralize:",s"}}</td>
|
||||
<td>{{participant.nb_places}} place{{participant.nb_places|pluralize}}</td>
|
||||
<td>{{participant.email}}</td>
|
||||
<td>
|
||||
<div class={%if participant.paid %}"greenratio"{%else%}"redratio"{%endif%}>
|
||||
|
@ -49,6 +48,7 @@
|
|||
<td><input type="submit" value="Ajouter"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<button type="button" onclick="toggle('export-mails')">Afficher/Cacher mails participants</button>
|
||||
<pre id="export-mails" style="display:none">
|
||||
{%for participant in participants %}{{participant.email}}, {%endfor%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue