diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index c37d405..18cab80 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -131,6 +131,9 @@ class UserController extends AbstractController $list[] = [ 'name' => $user['key'], + 'address' => $client->getAccountAddress( + $user['key'] + ), 'total' => $total, 'rooms' => $rooms, ]; diff --git a/templates/default/user/list.html.twig b/templates/default/user/list.html.twig index 69b159f..fc1f8b0 100644 --- a/templates/default/user/list.html.twig +++ b/templates/default/user/list.html.twig @@ -13,7 +13,7 @@ {{ 'balance' | trans }}: {{ user.name | account_balance | format_kva }}
- {{ 'boost' | trans }}: {{ user.name | account_address }} + {{ 'boost' | trans }}: {{ user.address }}
{% if user.rooms | length %}