libreenfete-squelettes/modeles/agenda.html

62 lines
2.8 KiB
HTML
Raw Normal View History

2021-11-26 15:05:38 +01:00
#SET{repartition, #MES_REPARTITION{#ENV{tag}}}
<BOUCLE_repartition(DATA){source tableau, #GET{repartition/pays}}>
<h3 class="spip">#VALEUR{name}</h3>
2019-03-08 17:19:26 +01:00
<B_evenementsnationaux>
2021-11-26 15:05:38 +01:00
<details class="evenement-Details"><summary class="evenement-Summary">[(#VALEUR{code}|=={internet}|?{'En ligne', 'À léchelle nationale'})] <span class="evenement-Total">([(#VALEUR|count)])</span></summary>
<BOUCLE_evenementsnationaux(DATA) {source tableau, #VALEUR{evenementsnationaux}}>
[<h5 class="spip">(#CLE)</h5>]
<table class="evenement-Table">
<BOUCLE_evenementsnationaux_liste(DATA) {source tableau, #VALEUR}{par start_time}>
2019-03-08 17:19:26 +01:00
[(#SET{evt,#VALEUR})]
2021-11-26 15:05:38 +01:00
<tr>
<td class="evenement-Date">[[(#GET{evt/start_time}|nom_jour)] (#GET{evt/start_time}|affdate_jourcourt)]</td>
<td class="evenement-Heure">[(#GET{evt/start_time}|heures)][:(#GET{evt/start_time}|minutes)]</td>
<td class="evenement-Titre">
<a href="https://www.agendadulibre.org/events/[(#GET{evt/id})]">[(#GET{evt/title})]</a>
</td>
</tr>
</BOUCLE_evenementsnationaux_liste>
</table>
</details>
2019-03-08 17:19:26 +01:00
</BOUCLE_evenementsnationaux>
2021-11-26 15:05:38 +01:00
2019-12-17 19:22:06 +01:00
<BOUCLE_sousregions(DATA){source tableau, #VALEUR{sousregions}}>
<h4 class="spip">#VALEUR{name}</h4>
2021-11-26 15:05:38 +01:00
<BOUCLE_evenements(DATA) {source tableau, #VALEUR{evenements}}>
<details class="evenement-Details"><summary class="evenement-Summary">[(#CLE|?{#CLE,'à léchelle de la région})] <span class="evenement-Total">([(#VALEUR|count)])</span></summary>
<table class="evenement-Table">
<BOUCLE_evenements_liste(DATA) {source tableau, #VALEUR}{par start_time}>
2019-12-17 19:22:06 +01:00
[(#SET{evt,#VALEUR})]
2021-11-26 15:05:38 +01:00
<tr>
<td class="evenement-Date">[[(#GET{evt/start_time}|nom_jour)] (#GET{evt/start_time}|affdate_jourcourt)]</td>
<td class="evenement-Heure">[(#GET{evt/start_time}|heures)][:(#GET{evt/start_time}|minutes)]</td>
<td class="evenement-Titre">
<a href="https://www.agendadulibre.org/events/[(#GET{evt/id})]">[(#GET{evt/title})]</a>
</td>
</tr>
</BOUCLE_evenements_liste>
</table>
</details>
2019-12-17 19:22:06 +01:00
</BOUCLE_evenements>
</BOUCLE_sousregions>
</BOUCLE_repartition>
2019-03-08 17:19:26 +01:00
<B_ailleurs>
<h3 class="spip">Ailleurs</h3>
2021-11-26 15:05:38 +01:00
#SET{ailleurs, #GET{repartition/ailleurs}}
<details class="evenement-Details"><summary class="evenement-Summary">Non localisé [(#GET{ailleurs}|count)]</summary>
<table class="evenement-Table">
<BOUCLE_ailleurs(DATA){source tableau, #GET{ailleurs}}{par start_time}>
2019-03-08 17:19:26 +01:00
[(#SET{evt,#VALEUR})]
2021-11-26 15:05:38 +01:00
<tr>
<td class="evenement-Date">[[(#GET{evt/start_time}|nom_jour)] (#GET{evt/start_time}|affdate_jourcourt)]</td>
<td class="evenement-Heure">[(#GET{evt/start_time}|heures)][:(#GET{evt/start_time}|minutes)]</td>
<td class="evenement-Titre">
<a href="https://www.agendadulibre.org/events/[(#GET{evt/id})]">[(#GET{evt/title})]</a>
</td>
</tr>
2019-03-08 17:19:26 +01:00
</BOUCLE_ailleurs>
2021-11-26 15:05:38 +01:00
</table>
</details>
2019-03-08 17:19:26 +01:00
</B_ailleurs>