source: spip-zone/_plugins_/reservation_evenement/branches/v1/prive/objets/liste/inc-reservations_reservations.html @ 91368

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

Interface clients : regroupe tous les clients - auteurs spip ou non

File size: 3.7 KB
Line 
1[(#SET{defaut_tri,#ARRAY{
2    reference,-1,
3    id_reservation,1,
4    date,-1,
5    points,-1
6}})]
7#SET{chaine_defaut,reservation:type_lien}
8<B_liste_reservations>
9#ANCRE_PAGINATION
10[(#ENV{id_reservation_source}|>{0}|?{
11  #SET{titre_singulier,reservation:info_1_reservation_liee}
12  #SET{titre_pluriel,reservation:info_nb_reservations_liees},
13  #SET{titre_singulier,reservation:info_1_reservation}
14  #SET{titre_pluriel,reservation:info_nb_reservations}
15})]
16<div class="liste-objets reservations">
17<table class='spip liste'>
18
19    [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{#GET{titre_singulier},#GET{titre_pluriel}}})</strong></caption>]
20    <thead>
21        <tr class='first_row'>
22            <th class='picto' scope='col'></th>
23            <th class='statut' scope='col'>[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:>">#</span>,ajax})]</th>
24            <th class='reference' scope='col'>[(#TRI{reference,<:reservation:label_reference:>,ajax})]</th>
25            <th class='date' scope='col'><:reservation:reservation_de:></th>
26            <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
27            <th class='id' scope='col'>[(#TRI{id_reservation,<:info_numero_abbreviation:>,ajax})]</th>
28        </tr>
29    </thead>
30    <tbody>
31    <BOUCLE_liste_reservations(RESERVATIONS){id_reservation_source ?=#ENV{id_reservation_source}}{id_auteur?}{id_mot?}{email?}{where?}{statut ?IN #ENV{statut}}{recherche?}{tri #ENV{par,reference},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
32        <tr>
33            <td class='picto'>[(#CHEMIN_IMAGE{reservation-16.png}|balise_img)]</td>
34            <td class='statut'>[(#STATUT|puce_statut{reservation,#ID_RESERVATION})]</td>
35            <td class='reference principale'><a href="[(#ID_RESERVATION|generer_url_entite{reservation})]" title="<:info_numero_abbreviation|attribut_html:> #ID_RESERVATION">
36              [(#RANG). ]#REFERENCE
37              </a>
38           </td>
39            <td class='auteur'>
40                   <BOUCLE_auteur(AUTEURS){id_auteur}{tout}>
41                    <a href="#URL_ECRIRE{client,email=#EMAIL}" title="#NOM">#NOM</a> -
42                    <a href="mailto:#EMAIL">#EMAIL</a>
43                   </BOUCLE_auteur>
44                    <a href="#URL_ECRIRE{client,email=#EMAIL}" title="#NOM">#NOM</a> - <a href="mailto:#EMAIL">#EMAIL</a>
45                 <//B_auteur>
46            </td>
47
48            <td class='date secondaire'>[(#DATE|affdate_jourcourt)]</td>
49            <td class='id'>[(#AUTORISER{modifier,reservation,#ID_RESERVATION}|?{
50                <a href="[(#URL_ECRIRE{reservation_edit,id_reservation=#ID_RESERVATION})]">#ID_RESERVATION</a>,
51                #ID_RESERVATION
52            })][(#ID_RESERVATION_SOURCE|>{0}|oui)
53                #SET{reference,#INFO_REFERENCE{reservation,#ID_RESERVATION_SOURCE}}
54                #SET{chaine,#ORIGINE_LIEN|concat{:type_lien_#TYPE_LIEN}{reference=#GET{reference}}}
55                [(#SET{chaine_traduite,#GET{chaine}|_T{#ARRAY{reference,#GET{reference}},#ARRAY{force,''}}|sinon{#GET{chaine_defaut}|_T{#ARRAY{reference,#GET{reference}}}}})]
56                  <br /><img src="[(#CHEMIN_IMAGE{lien-#TYPE_LIEN-16.png}|sinon{#CHEMIN_IMAGE{lien-16.png}})]" alt="#GET{chaine_traduite}" title="#GET{chaine_traduite}" />
57              ]</td>
58        </tr>
59        [(#ENV{id_reservation_source}|=={0}|oui)
60          <INCLURE{fond=prive/objets/liste/inc-reservations_reservations_liees,env,id_reservation_source=#ID_RESERVATION}/>
61        ]
62    </BOUCLE_liste_reservations>
63    </tbody>
64</table>
65[<p class='pagination'>(#PAGINATION{prive})</p>]
66</div>
67</B_liste_reservations>
68[(#ENV{id_reservation_source}|>{0}|non)
69  <div class="liste-objets reservations caption-wrap"><strong class="caption"><:reservation:info_aucun_reservation:></strong></div>
70]
71<//B_liste_reservations>
Note: See TracBrowser for help on using the repository browser.