From 640bd7fa65c9932ff0bb1296aa07d5ec295ba490 Mon Sep 17 00:00:00 2001
From: "real3t@gmail.com" <>
Date: Sat, 25 Mar 2017 21:46:13 +0000
Subject: [PATCH] =?UTF-8?q?Mode=20Cognac=20:=20fin=20de=20la=20zone=20des?=
 =?UTF-8?q?=20actualit=C3=A9s=20:=20agenda?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../sommaire/sommaire_modeportailcognac.html  | 41 +++++++++----------
 1 file changed, 20 insertions(+), 21 deletions(-)

diff --git a/noisettes/sommaire/sommaire_modeportailcognac.html b/noisettes/sommaire/sommaire_modeportailcognac.html
index 23afc6eb..21f40396 100644
--- a/noisettes/sommaire/sommaire_modeportailcognac.html
+++ b/noisettes/sommaire/sommaire_modeportailcognac.html
@@ -88,7 +88,7 @@
 			[(#GET{ratio}|>{1.8764}|?{#SET{facteur,2}#SET{largeur,638}})]
 			[(#GET{ratio}|>{2.8088}|?{#SET{facteur,3}#SET{largeur,955}})]
 			<div class="grid-item[ grid-item-x(#GET{facteur})]">
-				<div class="content-actus">
+				<div class="content-actus #EDIT{titre}">
 					<a href="#URL_ARTICLE"[ title="(#DESCRIPTIF|attribut_html)"]>
 						[<img src="(#GET{logo}|focusimage{#GET{largeur},340}|extraire_attribut{src}|sinon{http://placehold.it/#GET{largeur}x340})" alt="" width="#GET{largeur}" height="340" />]
 						<div class="h2"><span class="titre-actus">#TITRE</span>
@@ -97,34 +97,33 @@
 				</div>
 			</div>
 			</BOUCLE_articles_recentsAlaUne>
+			<B_AgendaDerniersAjouts>
 			<div class="grid-item">
-				<div class="content-actus">
-					<a href="#" title="Lire l'article">
-						<header class="flexbox-center-space-between triadeA texte-blanc">
-							<time itemprop="startDate" title="2017-02-01 14:30:00" datetime="2017-02-01 14:30:00">
-								<span class="dateNombre"><strong>08</strong>&nbsp;/08</span>
-								<span class="dateMois display-block">2107</span>
-							</time>
-							<img src="https://unsplash.it/180/95?image=139" alt="" />
-						</header>
-						<div class="h2"><span class="titre-actus">Conférence du GREH au Centre des congrés</span>
-							<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
-					</a>
-				</div>
-				<div class="content-actus">
-					<a href="#" title="Lire l'article">
+			<BOUCLE_AgendaDerniersAjouts(EVENEMENTS)
+			{branche}
+			{par date_debut}
+			{0,(#CONFIG{soyezcreateurs/nombres_agenda,5})}
+			{date_fin>=(#ENV{date}|affdate{'Y-m-d'})}
+			{statut=publie}
+			{"</div><div class='grid-item'>"}>
+			<BOUCLE_DernierEvenementArticle(ARTICLES){id_article}>
+				<div class="content-actus #EDIT{titre}">
+					<a href="#URL_ARTICLE"[ title="(#DESCRIPTIF|attribut_html)"]>
 						<header class="flexbox-center-space-between triadeA texte-blanc">
 							<time itemprop="startDate" title="2017-02-01 14:30:00" datetime="2017-02-01 14:30:00">
-								<span class="dateNombre"><strong>11</strong>&nbsp;/01</span>
-								<span class="dateMois display-block">2107</span>
+								<span class="dateNombre"><strong>[(#DATE_DEBUT|affdate{d})]</strong>&nbsp;/[(#DATE_DEBUT|affdate{m})]</span>
+								<span class="dateMois display-block">[(#DATE_DEBUT|affdate{Y})]</span>
 							</time>
-							<img src="https://unsplash.it/180/95?image=200" alt="" />
+							[<img src="(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|focusimage{180,95}|extraire_attribut{src}|sinon{http://placehold.it/180x95})" alt="" width="180" height="95" />]
 						</header>
-						<div class="h2"><span class="titre-actus">Fritz Baueur au ciné-club, Le Galaxy, salle N°2</span>
+						<div class="h2"><span class="titre-actus">#TITRE</span>
 							<span class="icon icon-arrow-right2 icon-lg">&#10140;</span></div>
 					</a>
 				</div>
+				</BOUCLE_DernierEvenementArticle>
+				</BOUCLE_AgendaDerniersAjouts>
 			</div>
+			</B_AgendaDerniersAjouts>
 			<BOUCLE_Secteurs_Exclus(RUBRIQUES){titre_mot=SecteurPasDansQuoiDeNeuf}><BOUCLE_Articles_Secteurs_Exclus(ARTICLES){id_secteur}{doublons} /></BOUCLE_Secteurs_Exclus>
 			<BOUCLE_Rubriques_Exclues(RUBRIQUES){titre_mot=PasDansQuoiDeNeuf}><BOUCLE_Articles_Exclus(ARTICLES){id_rubrique}{doublons}{lang} /></BOUCLE_Rubriques_Exclues>
 			<BOUCLE_exclus(ARTICLES){titre_mot=PasDansQuoiDeNeuf}{doublons} />
@@ -137,7 +136,7 @@
 			[(#GET{ratio}|>{1.8764}|?{#SET{facteur,2}#SET{largeur,638}})]
 			[(#GET{ratio}|>{2.8088}|?{#SET{facteur,3}#SET{largeur,955}})]
 			<div class="grid-item[ grid-item-x(#GET{facteur})]">
-				<div class="content-actus">
+				<div class="content-actus #EDIT{titre}">
 					<a href="#URL_ARTICLE"[ title="(#DESCRIPTIF|attribut_html)"]>
 						[<img src="(#GET{logo}|focusimage{#GET{largeur},340}|extraire_attribut{src}|sinon{http://placehold.it/#GET{largeur}x340})" alt="" width="#GET{largeur}" height="340" />]
 						<div class="h2"><span class="titre-actus">#TITRE</span>
-- 
GitLab