Show daily streak count on leaderboard as well

This commit is contained in:
Peter Stockings
2026-02-24 21:12:45 +11:00
parent 9323082d37
commit f3abb4781b
4 changed files with 49 additions and 41 deletions

View File

@@ -56,6 +56,7 @@
<th>Lost (%)</th>
<th>Goal Progress</th>
<th>Check-ins</th>
<th>Streak</th>
</tr>
</thead>
<tbody>
@@ -96,6 +97,8 @@
{% endif %}
</td>
<td>{{ u.total_checkins }}</td>
<td>{% if u.streak > 0 %}<span style="color: var(--warning);">🔥 {{ u.streak }}d</span>{% else
%}<span style="color: var(--text-muted);"></span>{% endif %}</td>
</tr>
{% endfor %}
</tbody>