quand l'émission est passée, on place l'encart dernière émission tout en
haut sans titre
This commit is contained in:
parent
fdd4bf20e3
commit
5567508242
@ -3,7 +3,7 @@
|
||||
<BOUCLE_proc(ARTICLES){id_rubrique}{!par date}{statut=publie}{0,1}>
|
||||
[(#SET{fin_emission,[(#DATE|annee)-][(#DATE|mois)-][(#DATE|jour) ]17:00:00})]
|
||||
<BOUCLE_cond(ARTICLES){id_article}{statut=publie}{si #ENV{date}|<={#GET{fin_emission}}|oui}>#SET{prochaine,#ID_ARTICLE}
|
||||
<article class="prochaine_emission">
|
||||
<article class="prochaine_emission emission_heroine">
|
||||
|
||||
<header class="cartouche">
|
||||
|
||||
@ -47,12 +47,11 @@
|
||||
|
||||
</article>
|
||||
</BOUCLE_cond>
|
||||
</BOUCLE_proc>
|
||||
|
||||
<INCLURE{fond=inclure/derniere_emission} />
|
||||
<INCLURE{fond=inclure/derniere_emission,class=emission_heroine} />
|
||||
|
||||
<//B_proc>
|
||||
|
||||
<//B_cond>
|
||||
</BOUCLE_proc>
|
||||
</BOUCLE_emissions>
|
||||
|
||||
|
||||
@ -81,7 +80,10 @@
|
||||
<//B_accueil>
|
||||
|
||||
[(#GET{prochaine}|oui)
|
||||
<INCLURE{fond=inclure/derniere_emission,prochaine=#GET{prochaine}} />
|
||||
<div class="derniere_emission">
|
||||
<h2><:libreavous:derniere_emission:></h2>
|
||||
<INCLURE{fond=inclure/derniere_emission,prochaine=#GET{prochaine}} />
|
||||
</div>
|
||||
]
|
||||
<INCLURE{fond=inclure/liste/emissions-precedentes,ajax,env,nb=6,prochaine=#GET{prochaine}} />
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
<BOUCLE_emissions(RUBRIQUES){composition=emissions}>
|
||||
<BOUCLE_der(ARTICLES){id_rubrique}{!par date}{id_article!=#ENV{prochaine}}{0,1}>
|
||||
<div class="derniere_emission">
|
||||
<h2><:libreavous:derniere_emission:></h2>
|
||||
<INCLURE{fond=inclure/resume/emission,id_article} />
|
||||
</div>
|
||||
|
||||
<INCLURE{fond=inclure/resume/emission,id_article,class=#ENV{class}} />
|
||||
|
||||
</BOUCLE_der>
|
||||
</BOUCLE_emissions>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<BOUCLE_e(ARTICLES){id_article}>
|
||||
<article class="emission-resume article-resume">
|
||||
<article class="emission-resume article-resume #ENV{class}">
|
||||
<div class="texte_content">
|
||||
<div class="cartouche">
|
||||
<p class="article__infos">
|
||||
|
@ -873,8 +873,11 @@ a:hover .fab, a:hover .fas {
|
||||
}
|
||||
|
||||
}
|
||||
.prochaine_emission {
|
||||
.emission_heroine.emission-resume.article-resume {
|
||||
margin-bottom:($spacer*6);
|
||||
.article__infos {
|
||||
margin: 0 0 0 -($spacer*4);
|
||||
}
|
||||
.article__date {
|
||||
font-size:1rem;
|
||||
color:$couleurPrincipale;
|
||||
|
Loading…
Reference in New Issue
Block a user