27 lines
1.6 KiB
HTML
27 lines
1.6 KiB
HTML
#SET{id_rubrique, #CONFIG{balint/id_bien}} #SET{id_grpe_tags, 0} #SET{id_une, #ENV{id_une,0}} #SET{id_grpe_statut, 0} #SET{grpes_importants,#ARRAY}
|
|
<BOUCLE_tags(GROUPES_MOTS){grigri = tags}>#SET{id_grpe_tags, #ID_GROUPE} </BOUCLE_tags>
|
|
<BOUCLE_status(GROUPES_MOTS){grigri = statut_bien}>#SET{id_grpe_statut, #ID_GROUPE} </BOUCLE_status>
|
|
<BOUCLE_grpes_importants(GROUPES_MOTS){obligatoire=oui}>#SET{grpes_importants,#GET{grpes_importants}|push{#ID_GROUPE}} </BOUCLE_grpes_importants>
|
|
|
|
<B_listes_biens>
|
|
<div class="liste_des_videos">
|
|
<BOUCLE_listes_biens(ARTICLES){mots?}{id_mot?}{id_rubrique?}{id_secteur=#GET{id_rubrique}}{par rang}{!id_article=#GET{id_une}}>
|
|
[(#REM)
|
|
le bronx pour ajouter des logos en placeholder lorsque les rangées ne font pas 3 blocs
|
|
]
|
|
#SET{reste,#TOTAL_BOUCLE|modulo{3}} #SET{nb,#VAL{3}|moins{#GET{reste}}} #SET{complets,#TOTAL_BOUCLE|moins{#GET{reste}}}
|
|
|
|
[(#COMPTEUR_BOUCLE|>{#GET{complets}}|et{#GET{nb}|=={2}}) #INCLURE{fond=inclure/placeholder_bien}]
|
|
<INCLURE{fond=inclure/bloc_bien, env, id_article, id_grpe_tags=#GET{id_grpe_tags}, id_grpe_statut=#GET{id_grpe_statut}, grpes_importants=#GET{grpes_importants}}>
|
|
[(#COMPTEUR_BOUCLE|>{#GET{complets}}|et{#GET{nb}|=={2}}) #INCLURE{fond=inclure/placeholder_bien}]
|
|
[(#COMPTEUR_BOUCLE|>{#GET{complets}|plus{1}}|et{#GET{nb}|=={1}}) #INCLURE{fond=inclure/placeholder_bien}]
|
|
</BOUCLE_listes_biens>
|
|
</div>
|
|
</B_listes_biens>
|
|
|
|
<div class="txtcenter placeholder">
|
|
<img src="[(#CHEMIN{img/logo_balint_placeholder.svg})]" alt="Pas de photo pour cet article">
|
|
</div>
|
|
|
|
<h2 class="h3-like">Nous ne possédons actuellement pas de biens dans cette catégorie.</h2>
|
|
<//B_listes_biens>
|