From bc121d84fa2850344fce80598b40592622bd73b3 Mon Sep 17 00:00:00 2001 From: Arnaud Delcasse Date: Mon, 31 Mar 2025 08:53:29 +0200 Subject: [PATCH] small fixes --- .../_partials/beneficiary-files.html | 4 +++- .../_partials/journey_preview.html | 21 ++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/web/layouts/beneficiaries/_partials/beneficiary-files.html b/web/layouts/beneficiaries/_partials/beneficiary-files.html index 87e47d4..ee3533d 100644 --- a/web/layouts/beneficiaries/_partials/beneficiary-files.html +++ b/web/layouts/beneficiaries/_partials/beneficiary-files.html @@ -120,7 +120,9 @@ x-data="{

Jusqu'à 10MB

-

+ diff --git a/web/layouts/solidarity_transport/_partials/journey_preview.html b/web/layouts/solidarity_transport/_partials/journey_preview.html index 9d2a5d1..5652649 100644 --- a/web/layouts/solidarity_transport/_partials/journey_preview.html +++ b/web/layouts/solidarity_transport/_partials/journey_preview.html @@ -11,20 +11,21 @@
Départ passager
-
{{.driver_journey.PassengerPickup.Properties.label}}
+
{{.driver_journey.PassengerPickup.Properties.label}}
Destination passager
-
{{.driver_journey.PassengerDrop.Properties.label}}
+
{{.driver_journey.PassengerDrop.Properties.label}}
Départ conducteur
-
{{.driver_journey.DriverDeparture.Properties.label}}
+
{{.driver_journey.DriverDeparture.Properties.label}}
Destination conducteur
-
{{.driver_journey.DriverArrival.Properties.label}}
+
{{.driver_journey.DriverArrival.Properties.label}}
+
Kilomètres passager
{{.driver_journey.PassengerDistance}} km
@@ -34,23 +35,23 @@
Horaire départ conducteur
-
{{ .driver_journey.DriverDepartureDate.Format "02/01/2006 15:04"}}
+
{{ .driver_journey.DriverDepartureDate.Format "02/01/2006 15:04"}}
Horaire rendez vous passager
-
{{ .driver_journey.PassengerPickupDate.Format "02/01/2006 15:04"}}
+
{{ .driver_journey.PassengerPickupDate.Format "02/01/2006 15:04"}}
Temps de trajet (passager)
-
{{ printf "%.0f" .driver_journey.Duration.Minutes }} min
+
{{ printf "%.0f" .driver_journey.Duration.Minutes }} min
Prix (passager)
-
{{ .driver_journey.Price.Amount }} {{ .driver_journey.Price.Currency}}
+
{{ .driver_journey.Price.Amount }} {{ .driver_journey.Price.Currency}}
-
+