From 60e6d9daf7b8d64d8681e83cddeea6bcdc4ec075 Mon Sep 17 00:00:00 2001 From: Kilian Beraud Date: Thu, 30 Jan 2025 11:05:12 +0100 Subject: [PATCH 1/2] - Ajout des favoris --- templates/apiSearch/index.html.twig | 8 +++++--- templates/components/navbar.html.twig | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/apiSearch/index.html.twig b/templates/apiSearch/index.html.twig index fc0c3b4..ec3bd54 100644 --- a/templates/apiSearch/index.html.twig +++ b/templates/apiSearch/index.html.twig @@ -33,6 +33,7 @@

Aux éditions : {{ book.volumeInfo.publisher }}

+ {% endif %} {% if book.volumeInfo.publishedDate is defined %}

Date de publication : {{ book.volumeInfo.publishedDate }} @@ -54,7 +55,7 @@ {{ book.searchInfo.textSnippet | raw }} {% endif %}

- {% endif %} +
@@ -79,13 +80,14 @@ {% endif %} {% endfor %} - {% endif %} - {% if favoris is empty %} + {% if favoris is empty %} {% endif %} + {% endif %} +