feat(19): show 'X/Y completed tasks' label on tablo cards

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Arthur Belleville 2026-05-17 17:01:45 +02:00
parent 7388418aed
commit e699129064
No known key found for this signature in database

View file

@ -148,7 +148,7 @@ templ TabloProjectCard(card TabloCardView, csrfToken string) {
<div class="mb-3 project-card-progress-row">
<div class="flex items-center justify-between text-sm mb-2">
<span class="text-gray-600">Progression:</span>
<span class="font-semibold text-gray-900">{ strconv.Itoa(card.DoneTasks) }/{ strconv.Itoa(card.TotalTasks) }</span>
<span class="font-semibold text-gray-900">{ strconv.Itoa(card.DoneTasks) }/{ strconv.Itoa(card.TotalTasks) } completed tasks</span>
</div>
<div class="w-full bg-gray-100 rounded-full h-2 project-progress-track">
<div class="h-2 rounded-full bg-purple-500 project-card-progress-bar" style={ "width: " + strconv.Itoa(card.Progress) + "%" }></div>