feat: add gender and goalkeeper/field player jersey style customization for members

This commit is contained in:
2026-05-20 19:04:34 +02:00
parent 1af0e177d5
commit 1f803a6ecc
4 changed files with 49 additions and 1 deletions
@@ -74,7 +74,14 @@
<td colspan="7" class="py-8 text-center text-gray-500">Aucun adhérent enregistré.</td>
</tr>
<tr th:each="adherent : ${adherents}" class="hover:bg-gray-50 transition-colors">
<td class="py-4 px-6 font-medium text-gray-900" th:text="${adherent.nom}">Dupont</td>
<td class="py-4 px-6 font-medium text-gray-900">
<span th:text="${adherent.nom}">Dupont</span>
<div class="text-[10px] text-gray-400 font-normal mt-0.5">
<span th:text="${adherent.sexe == 'FEMININ' ? 'Féminin' : 'Masculin'}">Masculin</span>
<span class="mx-1">|</span>
<span th:text="${adherent.typeMaillot == 'GARDIEN' ? 'Gardien' : 'Joueur'}">Joueur</span>
</div>
</td>
<td class="py-4 px-6 font-medium text-gray-900" th:text="${adherent.prenom}">Jean</td>
<td class="py-4 px-6 text-center text-gray-600 font-mono text-xs"
th:text="${adherent.getLicenceActuelle() != null and adherent.getLicenceActuelle().numeroLicence != null and !adherent.getLicenceActuelle().numeroLicence.isEmpty() ? adherent.getLicenceActuelle().numeroLicence : '-'}">-</td>