From d8901e921d6051aea110446c3e29b213dcbc4c97 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 18 Feb 2024 02:57:23 +0200 Subject: [PATCH] update balance info position --- templates/default/user/list.html.twig | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/templates/default/user/list.html.twig b/templates/default/user/list.html.twig index 6d96f3c..687ac64 100644 --- a/templates/default/user/list.html.twig +++ b/templates/default/user/list.html.twig @@ -7,18 +7,21 @@
  • - @{{ user.name }} / {{ 'balance' | trans }}: {{ user.balance }} / {{ 'boost' | trans }}: {{ user.address }} + @{{ user.name }} + {# @TODO #} + {% for namespace, total in user.rooms %} + {{ namespace | keva_namespace_value }} + {{ total }} + {% endfor %} +
    - {% for namespace, total in user.rooms %} - {{ namespace | keva_namespace_value }} - {{ total }} - {% endfor %} + {{ 'balance' | trans }}: {{ user.balance }} • {{ 'boost' | trans }}: {{ user.address }}
  • {% endfor %}