From 1abc84ee3ecc8084134db8f572e8c588cfb442bd Mon Sep 17 00:00:00 2001 From: Maxime ROCHER Date: Tue, 19 Nov 2024 14:06:09 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'vue/templates/quot?= =?UTF-8?q?eLittle.html.twig'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/templates/quoteLittle.html.twig | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/vue/templates/quoteLittle.html.twig b/vue/templates/quoteLittle.html.twig index 3f60e60..226b7ed 100644 --- a/vue/templates/quoteLittle.html.twig +++ b/vue/templates/quoteLittle.html.twig @@ -1,9 +1,20 @@ -
- {{ sourceName }} -
-

{{ quoteContent }}

-

- {{ sourceName }}

-

Personnage : {{ nameCarac }}

-

Année : {{ dateSortie }}

-
-
\ No newline at end of file +

{{ titre }}

+{% if quotes|length > 0 %} +
+ {% for quote in quotes %} + +
+ {{ quote.caracter }} +
+

"{{ quote.content }}"

+

- {{ quote.title }}

+

Personnage : {{ quote.caracter }}

+

Année : {{ quote.dates }}

+
+
+
+ {% endfor %} +
+{% else %} +

Aucune {{ titre }} n'a été trouvée.

+{% endif %} \ No newline at end of file