feat(Admin/Dashboard): Affiche le nombre de candidatures en cours.

🐛 fix(JoinController): Corrige l'envoi de mail et ajoute un état Discord.

 feat(JoinController): Ajoute l'état Discord et corrige les templates de mail.
```
This commit is contained in:
Serreau Jovann
2025-12-25 14:48:39 +01:00
parent d6643552de
commit d985258701
4 changed files with 26 additions and 6 deletions

View File

@@ -31,6 +31,24 @@
</p>
</div>
</div>
<div class="bg-gray-800 p-6 rounded-xl shadow-2xl border border-gray-700 hover:border-indigo-500 transition duration-300">
<div class="flex items-center justify-between">
<div class="text-indigo-400">
<svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20h5v-2a3 3 0 00-5.356-1.857M9 20H4v-2a3 3 0 015-2.236M9 20v-2a3 3 0 00-5-2.236M9 20h5m-5 0h5M12 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
</div>
<p class="text-sm font-medium text-gray-400">
Membres de l'association
</p>
</div>
<div class="mt-4">
<p class="text-4xl font-extrabold text-white">
{{ joins | number_format(0, ',', ' ') }}
</p>
<p class="text-sm text-gray-500 mt-1">
Total des candidatures en cours
</p>
</div>
</div>
{# Carte 2: Commandes en Attente #}
<div class="bg-gray-800 p-6 rounded-xl shadow-2xl border border-gray-700 hover:border-red-500 transition duration-300">

View File

@@ -139,7 +139,7 @@
{{ 'form.header.title'|trans }}
</h2>
{{ form_start(form, {'attr': {'class': 'space-y-8','data-turbo':false}}) }}
{{ form_start(form, {'attr': {'class': 'space-y-8'}}) }}
{# IDENTITÉ #}
<div class="grid md:grid-cols-2 gap-6">