From eb5a11fc69b0f1a1b830ea964c7a3b9809f8be19 Mon Sep 17 00:00:00 2001 From: Avartii Date: Wed, 10 Jul 2024 15:16:37 +0530 Subject: [PATCH] Added contestant number (order) for WSContest contest page --- templates/contests_view.html.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/contests_view.html.twig b/templates/contests_view.html.twig index 9145372..c67b15a 100644 --- a/templates/contests_view.html.twig +++ b/templates/contests_view.html.twig @@ -55,6 +55,7 @@ {{ msg('scores-legend', [score_calculation_interval~'']) }} + {{ msg('rank') }} {{ msg('user') }} {{ msg('points') }} {{ msg('contributions') }} @@ -63,8 +64,9 @@ - {% for score in scores %} + {% for index, score in scores %} + {{ index + 1 }} {{ score.username }} {{ score.points }} {{ score.contributions }}