diff --git a/web/layouts/vehicles_management/_partials/vehicles-list.html b/web/layouts/vehicles_management/_partials/vehicles-list.html index 2a89e71..d213d2f 100644 --- a/web/layouts/vehicles_management/_partials/vehicles-list.html +++ b/web/layouts/vehicles_management/_partials/vehicles-list.html @@ -38,6 +38,14 @@ Disponible + {{else if len .Bookings | eq 1}} + {{range .Bookings}} + {{if eq .Status -1 }} + + Disponible + + {{end}} + {{end}} {{else}} {{range .Bookings}} {{if .Data.administrator_unavailability}} @@ -53,10 +61,6 @@ En cours - {{else}} - - Disponible - {{end}} {{end}} {{end}}