From 42b345844e26c809b85687fb6b5972a1dc94c8d4 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 29 May 2025 13:30:18 +0200 Subject: [PATCH] lister les commerces avec une note --- templates/public/edit.html.twig | 22 +++++++++++++-------- templates/public/edit/wheelchair.html.twig | 2 +- templates/public/nav.html.twig | 5 +++++ templates/public/places_with_note.html.twig | 13 ++++++++++-- translations/messages.fr.yaml | 2 +- 5 files changed, 32 insertions(+), 12 deletions(-) diff --git a/templates/public/edit.html.twig b/templates/public/edit.html.twig index f52cdd8..c03261d 100644 --- a/templates/public/edit.html.twig +++ b/templates/public/edit.html.twig @@ -103,18 +103,24 @@ -
-
+ + + +
+
+
+ -
- {% endif %} + Je souhaite signaler que ce commerce est fermé +
diff --git a/templates/public/edit/wheelchair.html.twig b/templates/public/edit/wheelchair.html.twig index f134e71..ab047a6 100644 --- a/templates/public/edit/wheelchair.html.twig +++ b/templates/public/edit/wheelchair.html.twig @@ -1,7 +1,7 @@

{{ 'display.wheelchair'|trans }}

-
+
diff --git a/templates/public/places_with_note.html.twig b/templates/public/places_with_note.html.twig index 1d3e153..1ca7074 100644 --- a/templates/public/places_with_note.html.twig +++ b/templates/public/places_with_note.html.twig @@ -9,6 +9,7 @@ Nom + Code postal Note Actions @@ -16,9 +17,16 @@ {% for place in places %} - {{ place.name }} + {{ place.name }} + + + + + + {{place.zipcode}} + {{ place.note }} - + @@ -26,3 +34,4 @@
+{% endblock %} \ No newline at end of file diff --git a/translations/messages.fr.yaml b/translations/messages.fr.yaml index 34f2acd..b77d091 100644 --- a/translations/messages.fr.yaml +++ b/translations/messages.fr.yaml @@ -25,7 +25,7 @@ display: ask_angela_yes: "Oui" ask_angela_no: "Non" closed_commerces: "Commerces fermés" - + places_with_note: "Lieux avec une note" values: wheelchair: yes: "le lieu est totalement praticable en fauteuil roulant"