Feat: Add tie indicator to user stats and app control

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-21 20:49:16 +00:00
co-authored by mathieumoran1
parent 52eaee65f6
commit 122c7ee8d3
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -79,6 +79,7 @@ window.onload = async function () {
const item = document.createElement('div');
item.className = 'list-group-item';
const tieLabel = sorted.length > 1 ? ' <span class="text-muted">(égalité)</span>' : '';
const winnersHtml = sorted
.map((w) => {
@@ -90,7 +91,7 @@ window.onload = async function () {
item.innerHTML = `
<div class="d-flex justify-content-between align-items-center">
<div class="fw-semibold">${year}</div>
<div class="fw-semibold">${year}${tieLabel}</div>
<span class="badge bg-secondary">${sorted.length}</span>
</div>
<div class="mt-2">${winnersHtml}</div>