Checkpoint: Ajout de badges colorés orange avec icônes calendrier pour chaque date dans l'affichage des rappels automatiques. Format complet : Badge Formation (bleu) › Badge Séquence (vert) : Badge Date 1 (orange), Badge Date 2 (orange), etc. Affichage très visuel et attrayant. Déployé sur le serveur de production.
This commit is contained in:
@@ -296,14 +296,16 @@ export default function AdminRappels() {
|
||||
{group.sequenceNom}
|
||||
</Badge>
|
||||
<span className="text-gray-400 text-sm">:</span>
|
||||
<span className="text-gray-600 text-sm font-medium">
|
||||
{group.dates.map((d: any, idx: number) => (
|
||||
<span key={idx}>
|
||||
{idx > 0 && ", "}
|
||||
Date {d.ordre}
|
||||
</span>
|
||||
))}
|
||||
</span>
|
||||
{group.dates.map((d: any, idx: number) => (
|
||||
<Badge
|
||||
key={idx}
|
||||
variant="outline"
|
||||
className="bg-orange-50 text-orange-700 border-orange-300 text-xs"
|
||||
>
|
||||
<Calendar className="w-3 h-3 mr-1" />
|
||||
Date {d.ordre}
|
||||
</Badge>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user