activer la galerie photo de chaque émission

This commit is contained in:
chankalan 2021-07-11 10:29:14 +02:00
parent 27f02890b3
commit ebf52ee045
4 changed files with 20 additions and 7 deletions

View File

@ -13,4 +13,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'mp3' => 'MP3', 'mp3' => 'MP3',
'emission_integrale' => 'Émission intégrale', 'emission_integrale' => 'Émission intégrale',
'photos_de_l_emission' => 'Photos de lémission',
'galerie_april' => 'Galerie April',
); );

View File

@ -1,7 +1,7 @@
<paquet <paquet
prefix="libreavous" prefix="libreavous"
categorie="squelette" categorie="squelette"
version="0.4.0" version="0.4.1"
schema="0.1.3" schema="0.1.3"
etat="dev" etat="dev"
compatibilite="[3.2.8;4.0.*]" compatibilite="[3.2.8;4.0.*]"

View File

@ -78,16 +78,20 @@
</div> </div>
#SET{thumbs,'data-original-title'}
<B_photos>
<div class="fl"> <div class="fl">
<h2 id="galeriephotos">Galerie photos</h2> <h2 id="galeriephotos">
[<div class="#EDIT{podcast_galeriephotos} ">(#PODCAST_GALERIEPHOTOS|propre)</div>] <:libreavous:photos_de_l_emission:>
#SET{thumbs,'data-original-title'} [<a href="(#PODCAST_GALERIEPHOTOS)" class="galeriephotos"><:libreavous:galerie_april:></a>]
<div class="flex flex3"> </h2>
<BOUCLE_photos(DATA){source file, https://photos.april.org/index.php?/category/369}{valeur == #GET{thumbs}}{0,3}> <div class="flex flex3 #EDIT{podcast_galeriephotos}">
<BOUCLE_photos(DATA){source file, #PODCAST_GALERIEPHOTOS}{valeur == #GET{thumbs}}{0,3}>
<figure class="photoapril">#VALEUR</figure> <figure class="photoapril">#VALEUR</figure>
</BOUCLE_photos> </BOUCLE_photos>
</div> </div>
</div> </div>
</B_photos>
<div class="fb detail_emission"> <div class="fb detail_emission">
[(#PODCAST_PERSONNES|oui)<a href="#personnesparticipantes" class="btn taille70 blanc">Personnes participantes</a>] [(#PODCAST_PERSONNES|oui)<a href="#personnesparticipantes" class="btn taille70 blanc">Personnes participantes</a>]
@ -114,7 +118,7 @@
[<h2 id="transcription">Transcription</h2> <p><a href="#PODCAST_TRANSCRIPTION" class="#EDIT{podcast_transcription}">(#PODCAST_TRANSCRIPTION)</a></p>] [<h2 id="transcription">Transcription</h2> <p><a href="#PODCAST_TRANSCRIPTION" class="#EDIT{podcast_transcription}">(#PODCAST_TRANSCRIPTION)</a></p>]
[<h2 id="pausesmusicales">Pauses musicales</h2> [<h2 id="pausesmusicales"><:libreavous:pauses_musicales:></h2>
<div class="#EDIT{podcast_musique}">(#PODCAST_MUSIQUE|propre)</div>] <div class="#EDIT{podcast_musique}">(#PODCAST_MUSIQUE|propre)</div>]
[<div class="licence" id="licence">(#CONFIG{libreavous/licence}|propre)</div>] [<div class="licence" id="licence">(#CONFIG{libreavous/licence}|propre)</div>]

View File

@ -156,6 +156,11 @@ h2 {
.photoapril { .photoapril {
margin-bottom:1em; margin-bottom:1em;
} }
.galeriephotos {
float:right;
font-size:1.2rem;
line-height: 1.8;
}
.licence { .licence {
padding:1em; padding:1em;
line-height:1.2; line-height:1.2;