This commit is contained in:
Olivier PARPAILLON
2024-11-26 16:02:47 +01:00
parent 84cf9abbc2
commit d020360a60

View File

@@ -143,16 +143,13 @@
"></div>
<h2 class="text-lg font-semibold text-gray-800">{{ sortie.nom }}</h2>
</div>
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}" class="text-blue-500 hover:text-blue-700 font-medium">
<div class="bg-white rounded-lg shadow-md p-4">
<h2 class="text-lg font-semibold text-gray-800">{{ sortie.nom }}</h2>
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}">
<p class="mt-2 text-gray-600">
<strong>Date de début :</strong> {{ sortie.dateHeureDebut|date('d/m/Y H:i') }}<br>
<strong>Durée :</strong> {{ sortie.duree }} minutes<br>
<strong>Inscriptions max :</strong> {{ sortie.nbInscriptionsMax }}<br>
<strong>Infos :</strong> {{ sortie.infosSortie }}
</p>
</div>
</a>
{% else %}
<p class="text-gray-600 text-center col-span-4">Aucune sortie ne correspond à vos critères.</p>