libreavous/squelettes/inclure/derniere_emission.html
2021-09-09 16:05:59 +02:00

75 lines
3.2 KiB
HTML

<BOUCLE_emissions(RUBRIQUES){composition=emissions}>
<BOUCLE_der(ARTICLES){id_rubrique}{!par date}{date < #ENV{date}}{0,1}>
<div class="derniere_emission">
<h2><:libreavous:derniere_emission:></h2>
<article class="flex">
<div class="texte_content">
<header class="cartouche">
<p class="article__infos">
<span class="num_emission #EDIT{surtitre}">#[(#SURTITRE)]</span>
[<span class="article__date"><:libreavous:diffusee_le:> [(#DATE|jour)/][(#DATE|mois)/](#DATE|annee)</span>]
</p>
<h1><span class="#EDIT{titre} article__titre">[(#TITRE|libreavous_supp_numero)]</span>[
<small class="#EDIT{soustitre} soustitre">(#SOUSTITRE)</small>
]</h1>
<div class="postmeta">
#MODELE{article_traductions}
<BOUCLE_groupes(GROUPES_MOTS){par titre}>
<B_tags>
<p class="mots">
<strong>#TITRE : </strong><BOUCLE_tags(MOTS){id_article}{id_groupe}{', '}>
<a href="#URL_MOT">#TITRE</a>
</BOUCLE_tags>
</p>
</B_tags>
</BOUCLE_groupes>
</div>
</header>
<B_s>
<div class="sujets">
<h2><:libreavous:au_programme:> :</h2>
<ul>
<BOUCLE_s(CHAPITRES){id_article}{par debut}>
<li>#TITRE
<small><a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].ogg" class="btn blanc ogg podcast" title="[(#PODCAST_OGG|taille_en_octets)]"><:libreavous:ogg:></a>
<a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].mp3" class="btn blanc mp3 podcast title="[(#PODCAST_MP3|taille_en_octets)]"><:libreavous:mp3:></a></small>
</li>
</BOUCLE_s>
</ul>
</div>
</B_s>
[<div class="emission-programme #EDIT{chapo}">(#CHAPO)</div>]
<//B_s>
<p class="flex">
[(#PODCAST_CODE|oui)
<a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].ogg" class="btn blanc ogg podcast taille130" title="[(#PODCAST_OGG|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:ogg:></a>
<a href="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/[(#PODCAST_CODE)]/libre-a-vous-[(#PODCAST_CODE)].mp3" class="btn blanc mp3 podcast taille130" title="[(#PODCAST_MP3|taille_en_octets)]"><small><:libreavous:emission_integrale:></small><br /><:libreavous:podcast:> <:libreavous:mp3:></a>
]
<a href="#URL_ARTICLE" class="btn taille80 blanc"><:libreavous:page_de_l_emission:></a>
[<a href="(#PODCAST_TRANSCRIPTION)" class="btn taille80 blanc">Transciption</a>]
</p>
</div>
[<div class="photo">(#LOGO_ARTICLE|image_reduire{350,*})</div>]
#SET{thumbs,'data-original-title'}
<B_photos>
<div class="photo">
<BOUCLE_photos(DATA){si #LOGO_ARTICLE|non}{source file, #PODCAST_GALERIEPHOTOS}{valeur == #GET{thumbs}}{0,1}>
<figure class="photoapril">[<img src="https://photos.april.org/(#VALEUR|extraire_attribut{src})"[ alt="(#VALEUR|extraire_attribut{alt})"] />]</figure>
</BOUCLE_photos>
[<a href="(#PODCAST_GALERIEPHOTOS)" class="galeriephotos"><:libreavous:galerie_april:></a>]
</div>
</B_photos>
</article>
</div>
</BOUCLE_der>
</BOUCLE_emissions>