diff --git a/web/layouts/organized_carpool/_partials/booking_filters.html b/web/layouts/organized_carpool/_partials/booking_filters.html index c9e7c29..450c629 100644 --- a/web/layouts/organized_carpool/_partials/booking_filters.html +++ b/web/layouts/organized_carpool/_partials/booking_filters.html @@ -22,11 +22,9 @@
{{ .Data.first_name }} {{ .Data.last_name }} | -{{if .Data.address}}{{.Data.address.properties.label}}{{end}} | -{{if .Data.address_destination}}{{.Data.address_destination.properties.label}}{{end}} | -{{ .Data.phone_number }} | -- {{if carpoolDriverValidatedProfile . (carpoolDocuments .ID) }} - Oui - {{else}} - Non - {{end}} - | -- - Voir - - | -
+ | + | + | + | + Oui + Non + | ++ + Voir + + | +
+ Affichage de + + à + + sur + + résultats +
+- Conducteur - | -- Passager - | -- Départ - | -- Destination - | -- Date - | -- Statut - | -- Prix - | -- - | +Conducteur | +Passager | +Départ | +Destination | +Date | +Statut | +Prix | +|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- - {{ (index $.ViewState.drivers_map .DriverId).Data.first_name }} - {{ (index $.ViewState.drivers_map .DriverId).Data.last_name }} - - | -- - {{ (index $.ViewState.passengers_map .PassengerId).Data.first_name }} - {{ (index $.ViewState.passengers_map .PassengerId).Data.last_name }} - - | -- {{ .Journey.PassengerPickup.Properties.label }} - | -- {{ .Journey.PassengerDrop.Properties.label }} - | -- {{ .Journey.PassengerPickupDate.Format "02/01/2006 15:04" }} - | -- {{ if eq .Status "WAITING_CONFIRMATION"}} - Attente confirmation - {{ else if eq .Status "VALIDATED"}} - Validé - {{ else if eq .Status "CANCELLED"}} - Annulé - {{ end }} - | -- {{ printf "%.2f" (round2 .Journey.Price.Amount) }} {{ .Journey.Price.Currency }} - | -- - Voir - - | -||||||||
+ + + + | ++ + + + | ++ | + | + | + + | ++ + | ++ Voir + | +
+ Affichage de + + à + + sur + + résultats +
+- Conducteur - | -- Passager - | -- Départ - | -- Destination - | -- Date - | -- Statut - | -- - | +Conducteur | +Passager | +Départ | +Destination | +Date | +Statut | +|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- - {{ (index $.ViewState.drivers_map .DriverId).Data.first_name }} - {{ (index $.ViewState.drivers_map .DriverId).Data.last_name }} - - | -- - {{ (index $.ViewState.passengers_map .PassengerId).Data.first_name }} - {{ (index $.ViewState.passengers_map .PassengerId).Data.last_name }} - - | -- {{ .Journey.PassengerPickup.Properties.label }} - | -- {{ .Journey.PassengerDrop.Properties.label }} - | -- {{ timeFormat .Journey.PassengerPickupDate "02/01/2006 15:04" }} - | -
- {{ if eq .Status "WAITING_CONFIRMATION"}}
- Attente confirmation
- {{ else if eq .Status "VALIDATED"}}
- Validé
- {{ else if eq .Status "CANCELLED"}}
- Annulé
- {{ end }}
- {{if and .Data.motivation (or (or (eq .Data.motivation "Santé") (eq .Data.motivation "Insertion")) (eq .Data.motivation "Administratif"))}} Trajet garanti : {{.Data.motivation}} {{end}}
- |
- - - Voir - - | -|||||||
+ + + + | ++ + + + | ++ | + | + |
+
+
+
+
+
+
+ |
+ + Voir + | +
+ Affichage de + + à + + sur + + résultats +
+{{ .Data.first_name }} {{ .Data.last_name }} | -{{if .Data.address}}{{.Data.address.properties.label}}{{end}} | -{{ .Data.phone_number }} | -- {{if solidarityDriverValidatedProfile . (solidarityDocuments .ID) }} - Oui - {{else}} - Non - {{end}} - | -- - Voir - - | -
+ | + | + | + Oui + Non + | ++ + Voir + + | +
+ Affichage de + + à + + sur + + résultats +
+Informations complémentaires sur le véhicule
+Certains champs de sont pas valides.
diff --git a/web/layouts/vehicles_management/fleet-display.html b/web/layouts/vehicles_management/fleet-display.html index b2bc674..156cf85 100644 --- a/web/layouts/vehicles_management/fleet-display.html +++ b/web/layouts/vehicles_management/fleet-display.html @@ -170,26 +170,37 @@Aucune réservation à venir
- {{end}} -Du {{(timeFrom .Startdate).Format "02/01/2006"}} au {{(timeFrom .Enddate).Format "02/01/2006"}}
- - + {{if .ViewState.vehicle_optional_fields}} +Informations complémentaires sur le véhicule
+Informations complémentaires sur le véhicule
+