From 881dc51a440fc8d050a8efa2b90247b0fa42ddc5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 5 Sep 2022 00:29:26 +0200 Subject: [PATCH] fix again --- files/templates/leaderboard.html | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/files/templates/leaderboard.html b/files/templates/leaderboard.html index d96e85587..ced6fa3fd 100644 --- a/files/templates/leaderboard.html +++ b/files/templates/leaderboard.html @@ -360,43 +360,24 @@ - {% for user, num in users9 %} - + {% for user in users9 %} + {{loop.index}} - - -
- - {% if user.hat_active -%} - - {%- endif %} -
- {{user.username}} -
- - {{num}} + {{user[0].username}} + {{user[1]}} {% endfor %} {% if pos9 and (pos9[0] > 25 or not pos9[1]) %} {{pos9[0]}} - - -
- - {% if v.hat_active -%} - - {%- endif %} -
- {{v.username}} -
- + {{v.username}} {{pos9[1]}} {% endif %} +
Top 25 by badges