diff --git a/files/templates/leaderboard.html b/files/templates/leaderboard.html index 389d95122..e72bf4213 100644 --- a/files/templates/leaderboard.html +++ b/files/templates/leaderboard.html @@ -248,18 +248,22 @@ - {% for user in users9 %} - + {% for user, num in users9 %} + {{loop.index}} - {{user[0].username}} - {{user[1]}} + {% include "user_in_table.html" %} + {{num}} {% endfor %} {% if pos9 and (pos9[0] > 25 or not pos9[1]) %} {{pos9[0]}} - {{v.username}} - {{pos9[1]}} + + {% with user=v %} + {% include "user_in_table.html" %} + {% endwith %} + + {{pos9[1]}} {% endif %}