fix journeys display issues
This commit is contained in:
@@ -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}}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<p class="p-12 text-gray-500 text-center text-md">Aucun covoitureur solidaire disponible pour ce trajet.</p>
|
||||
{{else}}
|
||||
|
||||
<h3 class="p-4 text-lg">Covoitureurs solidaires</h3>
|
||||
<table class="min-w-full divide-y divide-gray-300 border-gray-300 border-t-1">
|
||||
<thead class="bg-gray-50">
|
||||
<tr>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<p class="p-12 text-gray-500 text-center text-md">Aucun conducteur solidaire disponible pour ce trajet.</p>
|
||||
{{else}}
|
||||
|
||||
<h3 class="p-4 text-lg">Transport solidaire</h3>
|
||||
<table class="min-w-full divide-y divide-gray-300 border-gray-300 border-t-1">
|
||||
<thead class="bg-gray-50">
|
||||
<tr>
|
||||
|
||||
@@ -105,16 +105,18 @@
|
||||
:class="tab == 'public-transit' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||
Transports </a>
|
||||
|
||||
{{ if moduleAvailable "solidarity_transport"}}
|
||||
<a href="#" @click="tab = 'solidarity-transport'"
|
||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||
:class="tab == 'solidarity-transport' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||
Transport solidaire </a>
|
||||
|
||||
{{end}}
|
||||
{{if moduleAvailable "organized_carpool"}}
|
||||
<a href="#" @click="tab = 'organized-carpool'"
|
||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||
:class="tab == 'organized-carpool' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||
Covoiturage solidaire </a>
|
||||
|
||||
{{end}}
|
||||
<a href="#" @click="tab = 'others'"
|
||||
class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm"
|
||||
:class="tab == 'others' ? 'border-co-blue text-co-blue' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300'">
|
||||
|
||||
Reference in New Issue
Block a user