modified: templates/leaderboard.html

This commit is contained in:
SimolZimol
2025-08-17 22:47:56 +02:00
parent c7515e19b3
commit 8c47d50502

View File

@@ -39,7 +39,7 @@
<tr> <tr>
<td>{{ index }}</td> <td>{{ index }}</td>
<td> <td>
<img src="{{'/static/default_profile.png' }}" alt="Profile Picture" class="profile-picture"> <img src="{{ user.profile_picture or 'static/profile_images/default_profile.png' }}" class="profile-picture" onerror="this.onerror=null; this.src='static/profile_images/default_profile.png';">
</td> </td>
<td>{{ user.nickname or 'Unknown User' }}</td> <td>{{ user.nickname or 'Unknown User' }}</td>
<td>{{ user.level }}</td> <td>{{ user.level }}</td>