diff --git a/templates/default/user/list.html.twig b/templates/default/user/list.html.twig index 687ac64..094d5d7 100644 --- a/templates/default/user/list.html.twig +++ b/templates/default/user/list.html.twig @@ -9,19 +9,26 @@ @{{ user.name }} - {# @TODO #} - {% for namespace, total in user.rooms %} - {{ namespace | keva_namespace_value }} - {{ total }} - {% endfor %} - -
- {{ 'balance' | trans }}: {{ user.balance }} • {{ 'boost' | trans }}: {{ user.address }} +

+ {{ 'balance' | trans }}: {{ user.balance }} +

+

+ {{ 'boost' | trans }}: {{ user.address }} +

+ {% if user.rooms | length %} +

+ {{ 'rooms' | trans }}: + {% for namespace, total in user.rooms %} + {{ namespace | keva_namespace_value }} + {{ total }} + {% endfor %} +

+ {% endif %} {% endfor %}