libreenfete-squelettes/modeles/agenda.html

99 lines
4.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#SET{repartition, #MES_REPARTITION{#ENV{tag}}}
<details class="sommaire-Details">
<summary class="sommaire-Summary">Sommaire</summary>
<div>
<ul class="sommaire-Liste">
<BOUCLE_sommaire_repartition(DATA){source tableau, #GET{repartition/pays}}>
<BOUCLE_sommaire_sousregions(DATA){source tableau, #VALEUR{sousregions}}>
<li><a href="#region_[(#VALEUR{region_id})]">[(#VALEUR{name})] (#VALEUR{total})</a></li>
</BOUCLE_sommaire_sousregions>
</BOUCLE_sommaire_repartition>
<BOUCLE_sommaire_internet(CONDITION){si #GET{repartition/internet/total}|>{0}}>
<li><a href="#enligne">En ligne (#GET{repartition/internet/total})</a></li>
</BOUCLE_sommaire_internet>
</ul>
</div>
</details>
<BOUCLE_repartition(DATA){source tableau, #GET{repartition/pays}}>
<h3 class="spip">#VALEUR{name}</h3>
<B_evenementsnationaux>
<details class="evenement-Details"><summary class="evenement-Summary">[(#VALEUR{code}|=={internet}|?{'En ligne', 'À léchelle nationale'})] <span class="evenement-Total">([(#VALEUR{totalevenementsnationaux})])</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}>
[(#SET{evt,#VALEUR})]
<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>
</BOUCLE_evenementsnationaux>
</details>
</B_evenementsnationaux>
<BOUCLE_sousregions(DATA){source tableau, #VALEUR{sousregions}}>
<h4 class="spip" id="region_[(#VALEUR{region_id})]">#VALEUR{name}</h4>
<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}>
[(#SET{evt,#VALEUR})]
<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>
</BOUCLE_evenements>
</BOUCLE_sousregions>
</BOUCLE_repartition>
<B_evenementsinternet>
<h3 class="spip">Internet</h3>
<details class="evenement-Details"><summary class="evenement-Summary">En ligne <span class="evenement-Total">(#GET{repartition/internet/total})</span></summary>
<table class="evenement-Table">
<BOUCLE_evenementsinternet(DATA) {source tableau, #GET{repartition/internet/evenements}}{par start_time}>
[(#SET{evt,#VALEUR})]
<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_evenementsinternet>
</table>
</details>
</B_evenementsinternet>
<B_ailleurs>
<h3 class="spip">Ailleurs</h3>
#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}>
[(#SET{evt,#VALEUR})]
<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_ailleurs>
</table>
</details>
</B_ailleurs>