mirror of
https://github.com/kevachat/webapp.git
synced 2025-03-10 04:21:01 +00:00
cache user address request
This commit is contained in:
parent
9c2464d7fb
commit
7f649110a5
@ -131,6 +131,9 @@ class UserController extends AbstractController
|
|||||||
$list[] =
|
$list[] =
|
||||||
[
|
[
|
||||||
'name' => $user['key'],
|
'name' => $user['key'],
|
||||||
|
'address' => $client->getAccountAddress(
|
||||||
|
$user['key']
|
||||||
|
),
|
||||||
'total' => $total,
|
'total' => $total,
|
||||||
'rooms' => $rooms,
|
'rooms' => $rooms,
|
||||||
];
|
];
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
{{ 'balance' | trans }}: {{ user.name | account_balance | format_kva }}
|
{{ 'balance' | trans }}: {{ user.name | account_balance | format_kva }}
|
||||||
</span>
|
</span>
|
||||||
<p>
|
<p>
|
||||||
{{ 'boost' | trans }}: {{ user.name | account_address }}
|
{{ 'boost' | trans }}: {{ user.address }}
|
||||||
</p>
|
</p>
|
||||||
{% if user.rooms | length %}
|
{% if user.rooms | length %}
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user