modified: templates/leaderboard.html

This commit is contained in:
SimolZimol
2024-10-29 13:52:19 +01:00
parent d82f10c61d
commit 1c4d031600

View File

@@ -38,11 +38,13 @@
{% for index, user in enumerate(leaderboard, start=1) %}
<tr>
<td>{{ index }}</td>
<td><img src="{{ user.profile_picture }}" alt="Profile Picture" class="profile-picture"></td>
<td>{{ user.nickname }}</td>
<td>
<img src="{{ user.profile_picture or '/static/default_profile.png' }}" alt="Profile Picture" class="profile-picture">
</td>
<td>{{ user.nickname or 'Unknown User' }}</td>
<td>{{ user.level }}</td>
<td>{{ user.xp }}</td>
<td>{{ user.join_date }}</td>
<td>{{ user.join_date or 'N/A' }}</td>
</tr>
{% endfor %}
</tbody>