source: spip-zone/_plugins_/reservation_evenement/trunk/prive/objets/liste/reservations_details.html @ 94816

Last change on this file since 94816 was 94816, checked in by abelass@…, 4 years ago

Enlever la jointure plus fonctionnel https://core.spip.net/issues/3654#change-11377

File size: 3.5 KB
Line 
1[(#SET{defaut_tri,#ARRAY{
2  descriptif,1,
3  reference,1,
4  quantite,1,
5  id_reservations_detail,1,
6  points,-1
7}})]
8<B_liste_reservations_details>
9  #ANCRE_PAGINATION
10  <div class="liste-objets reservations_details" id="liste_des_reservations">
11    <table class='spip liste'>
12      [
13      <caption>
14        <strong class="caption">(#GRAND_TOTAL|singulier_ou_pluriel{reservations_detail:info_1_reservations_detail,reservations_detail:info_nb_reservations_details})</strong>
15      </caption>
16      ]
17      <thead>
18        <tr class='first_row'>
19          <th class='picto' scope='col'></th>
20          <th class='statut' scope='col'>[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:>">#</span>,ajax})]</th>
21          <th class='descriptif' scope='col'>[(#TRI{descriptif,<:reservations_detail:label_descriptif:>,ajax})]</th>
22          <th class='reservation' scope='col'>[(#TRI{reference,<:reservation:label_reservation:>,ajax})]</th>
23          <th class='nom' scope='col'><:reservation:label_nom:></th>
24          <th class='quantite' scope='col'>[(#TRI{quantite,<:reservations_detail:label_quantite:>,ajax})]</th>
25          <th class='id' scope='col'>[(#TRI{id_reservations_detail,<:info_numero_abbreviation:>,ajax})]</th>
26        </tr>
27      </thead>
28      <tbody>
29        <BOUCLE_liste_reservations_details(RESERVATIONS_DETAILS){id_reservation?}{id_evenement ?IN #ENV{id_evenement}}{id_mot?}{id_auteur?}{where?}{statut?}{recherche?}{tri #ENV{par,num descriptif},#GET{defaut_tri}}{par descriptif}{pagination #ENV{nb,10}}>
30          <tr class='[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]'>
31            <td class='picto'>[(#CHEMIN_IMAGE{reservations_detail-16.png}|balise_img)]</td>
32            <td class='statut'>[(#STATUT|puce_statut{reservations_detail,#ID_RESERVATIONS_DETAIL})]</td>
33            <td class='descriptif principale'>
34              [(#LOGO_RESERVATIONS_DETAIL|image_reduire{20,26})]<a href="[(#ID_RESERVATIONS_DETAIL|generer_url_entite{reservations_detail})]" title="<:info_numero_abbreviation|attribut_html:> #ID_RESERVATIONS_DETAIL">[(#DESCRIPTIF**|supprimer_numero)]</a>
35              [(#PRIX**|>{0}|ou{#PRIX_HT**|>{0}}|oui)
36              <span class="prix">: #PRIX</span>]
37             </td>
38            <td class='reservation'><a href="[(#ID_RESERVATION|generer_url_entite{reservation})]" title="<:label_reference|attribut_html:> #REFERENCE">#REFERENCE</a></td>
39            <td class='nom'>
40                <BOUCLE_reservation(RESERVATIONs){id_reservation}>
41               <BOUCLE_auteur(AUTEURS){id_auteur}{tout}>
42                  <a href="#URL_ECRIRE{client,email=#EMAIL}" title="#NOM">#NOM</a> -
43                  <a href="mailto:#EMAIL">#EMAIL</a>
44               </BOUCLE_auteur>
45                  <a href="#URL_ECRIRE{client,email=#EMAIL}" title="#NOM">#NOM</a> - <a href="mailto:#EMAIL">#EMAIL</a>
46                <//B_auteur>
47                </BOUCLE_reservation>
48            </td>
49            <td class='quantite'>#QUANTITE</td>
50            <td class='id'>[(#AUTORISER{modifier,reservations_detail,#ID_RESERVATIONS_DETAIL}|?{ <a href="[(#URL_ECRIRE{reservations_detail_edit,id_reservations_detail=#ID_RESERVATIONS_DETAIL})]">#ID_RESERVATIONS_DETAIL</a>,
51            #ID_RESERVATIONS_DETAIL
52            })]</td>
53          </tr>
54        </BOUCLE_liste_reservations_details>
55      </tbody>
56    </table>
57    [
58    <p class='pagination'>
59      (#PAGINATION{prive})
60    </p>
61    ]
62  </div>
63</B_liste_reservations_details>
64[
65<div class="liste-objets reservations_details caption-wrap">
66  <strong class="caption">(#ENV*{sinon,''})</strong>
67</div>
68]<//B_liste_reservations_details>
Note: See TracBrowser for help on using the repository browser.