Merge branch 'main' into Marvin

This commit is contained in:
mepiphana2023
2024-11-26 16:07:22 +01:00

View File

@@ -122,6 +122,7 @@
</div> </div>
</a> </a>
{% for sortie in sorties %} {% for sortie in sorties %}
<a href="{{ path('sortie_view', { id: sortie.idSortie }) }}">
<div class="bg-white rounded-lg shadow-md p-4"> <div class="bg-white rounded-lg shadow-md p-4">
<div class="flex items-center mb-2"> <div class="flex items-center mb-2">
<div class="pin <div class="pin
@@ -143,9 +144,6 @@
"></div> "></div>
<h2 class="text-lg font-semibold text-gray-800">{{ sortie.nom }}</h2> <h2 class="text-lg font-semibold text-gray-800">{{ sortie.nom }}</h2>
</div> </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>
<p class="mt-2 text-gray-600"> <p class="mt-2 text-gray-600">
<strong>Date de début :</strong> {{ sortie.dateHeureDebut|date('d/m/Y H:i') }}<br> <strong>Date de début :</strong> {{ sortie.dateHeureDebut|date('d/m/Y H:i') }}<br>
<strong>Durée :</strong> {{ sortie.duree }} minutes<br> <strong>Durée :</strong> {{ sortie.duree }} minutes<br>