fix journeys display issues

This commit is contained in:
2025-04-15 10:26:17 +02:00
parent 90e484219c
commit ecac2f6c6f
5 changed files with 21 additions and 15 deletions

View File

@@ -90,8 +90,17 @@
{{end}}
{{if moduleAvailable "organized_carpool"}}
{{template "journeys_organized_carpool" .}}
{{end}}
{{if moduleAvailable "solidarity_transport"}}
{{template "journeys_solidarity_transport" .}}
{{end}}
{{if moduleAvailable "vehicles"}}
<!--VEHICLES-->
<!--<div class="px-4 pt-16 flex text-sm text-grey-900">
<div class="px-4 pt-16 flex text-sm text-grey-900">
<div class="flex-1">
{{.IconSet.Icon "tabler-icons:car" "h-6 w-6 inline-flex mr-4"}}
<span class=" font-bold">{{len .ViewState.vehicles}} véhicules</span> partagés disponibles ce jour là et la semaine suivante
@@ -100,14 +109,7 @@
</div>
<div class="p-4 text-center">
<a href="/app/vehicles/"><button class="text-md px-4 py-1 bg-gray-200 text-co-blue rounded-xl">Réserver un véhicule</button></a>
</div>-->
<h3 class="p-4 text-lg">Covoitureurs solidaires</h3>
{{template "journeys_organized_carpool" .}}
<h3 class="p-4 text-lg">Transport solidaire</h3>
{{template "journeys_solidarity_transport" .}}
</div>
{{end}}
</div>
{{end}}