From 21edc8b6ec4a3ceae1d3b728d310fa52eb55772d Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Thu, 20 Apr 2023 19:41:10 +0200 Subject: [PATCH] Ajout interview Gabriel Attal lutte contre la fraude sociale Signed-off-by: Emmy D'Anello --- data.json | 8 ++++++++ templates/template.html.j2 | 17 +++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/data.json b/data.json index 4b87c81..7b63791 100644 --- a/data.json +++ b/data.json @@ -54,6 +54,14 @@ "source_text": "Olivier Dussopt : « La fraude est une question importante, sur laquelle nous devons consacrer beaucoup d'énergie et beaucoup de moyens », BFMTV", "source_url": "https://www.bfmtv.com/politique/olivier-dussopt-la-fraude-est-une-question-importante-sur-laquelle-nous-devons-consacrer-beaucoup-d-energie-et-beaucoup-de-moyens_VN-202304180500.html" }, + { + "type": "audio", + "link": "https://media.radiofrance-podcast.net/podcast09/11710-18.04.2023-ITEMA_23352113-2023F16770S0108-22.mp3", + "start": "00:07:16", + "end": "00:08:10", + "source_text": "Gabriel Attal, ministre délégué chargé des Comptes publics, est l'invité de 7h50, France Inter", + "source_url": "https://www.radiofrance.fr/franceinter/podcasts/l-invite-de-7h50/l-invite-de-7h50-du-mardi-18-avril-2023-8613362" + }, { "type": "youtube", "code": "OJv_egnDfxw", diff --git a/templates/template.html.j2 b/templates/template.html.j2 index c7092c9..00fb165 100644 --- a/templates/template.html.j2 +++ b/templates/template.html.j2 @@ -53,12 +53,11 @@ Source : {{ medium.source_text }}

- {% elif medium.type == "video" %}
+ {% elif medium.type == "audio" %} +
+
+ +
+

+ Source : {{ medium.source_text }} +

+
{% elif medium.type == "youtube" %}
+

+ {{ medium.text }} +

{% endif %}