From 01f1a313d49f0b7188d0729ca4bb49c75e3903a0 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 7 Jan 2024 19:33:01 +0200 Subject: [PATCH] change players table --- templates/default/main/index.html.twig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/default/main/index.html.twig b/templates/default/main/index.html.twig index bd67174..b811246 100644 --- a/templates/default/main/index.html.twig +++ b/templates/default/main/index.html.twig @@ -171,25 +171,25 @@ - + {% for player in server.players %} - - - + + + {% endfor %}
- {{ 'Name' | trans }} {{ sort(request, server.crc32server, 'players', 'name') }} - {{ 'Frags' | trans }} {{ sort(request, server.crc32server, 'players', 'frags') }} - {{ 'Joined' | trans }} {{ sort(request, server.crc32server, 'players', 'joined') }} + {{ 'Name' | trans }} {{ sort(request, server.crc32server, 'players', 'name') }} {{ 'Online' | trans }} {{ sort(request, server.crc32server, 'players', 'online') }} + {{ 'Joined' | trans }} {{ sort(request, server.crc32server, 'players', 'joined') }} +
{{ player.name }} {{ player.frags }}{{ player.joined | date('r') }}{{ player.online | date('r') }}{{ player.name }}{{ player.online | format_date }}{{ player.joined | format_date }}