You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

64 lines
2.2 KiB

[(#SET{defaut_tri,#ARRAY{
reference,-1,
id_reservation,1,
date,-1,
points,-1
}})]
<B_liste_reservations>
#ANCRE_PAGINATION
[(#ENV{id_reservation_source}|>{0}|?{
#SET{titre_singulier,reservation:info_1_reservation_liee}
#SET{titre_pluriel,reservation:info_nb_reservations_liees},
#SET{titre_singulier,reservation:info_1_reservation}
#SET{titre_pluriel,reservation:info_nb_reservations}
})]
<div class="liste-objets reservations">
<table class='spip liste'>
[<caption>
<strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{#GET{titre_singulier},#GET{titre_pluriel}}})</strong>
</caption>]
<thead>
<tr class='first_row'>
<th class='picto' scope='col'></th>
<th class='statut' scope='col'>[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:>">#</span>,ajax})]</th>
<th class='reference' scope='col'>[(#TRI{reference,<:reservation:label_reference:>,ajax})]</th>
<th class='client' scope='col'><:reservation:reservation_de:></th>
<th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
<th class='id' scope='col'>[(#TRI{id_reservation,<:info_numero_abbreviation:>,ajax})]</th>
</tr>
</thead>
<tbody>
<BOUCLE_liste_reservations(RESERVATIONS){id_reservation_source ?=#ENV{id_reservation_source}}{id_auteur ?IN #ENV{id_auteur}}{id_mot?}{email?}{where?}{statut ?IN #ENV{statut}}{recherche?}{tri #ENV{par,reference},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
<tr>
<INCLURE{fond=prive/objets/liste/inc-reservations_row,
statut,
id_reservation,
reference,
id_auteur,
nom,
email,
date,
id_reservation_source,
type_lien,
origine_lien}/>
</tr>
[(#ENV{id_reservation_source}|=={0}|oui)
<INCLURE{fond=prive/objets/liste/inc-reservations_reservations_liees,env,id_reservation_source=#ID_RESERVATION}/>
]
</BOUCLE_liste_reservations>
</tbody>
</table>
[
<p class='pagination'>
(#PAGINATION{prive})
</p>
]
</div>
</B_liste_reservations>
[(#ENV{id_reservation_source}|>{0}|non)
<div class="liste-objets reservations caption-wrap">
<strong class="caption"><:reservation:info_aucun_reservation:></strong>
</div>
]
<//B_liste_reservations>