KevaChat is distributed chat platform for open, uncensored and privacy respectable communication with permanent data storage in blockchain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.9 KiB

11 months ago
{% extends 'default/layout.html.twig' %}
{% block head_title_content %}{{ 'Users' | trans }} - {{ app.name }}{% endblock %}
{% block main_content %}
{% if list | length %}
<ul>
{% for user in list %}
<li>
<div>
<strong>
@{{ user.name }}
11 months ago
</strong>
<span style="float:right">{# @TODO #}
{{ 'balance' | trans }}: {{ user.name | account_balance | format_kva }}
</span>
9 months ago
<p>
{{ 'boost' | trans }}: {{ user.name | account_address }}
9 months ago
</p>
{% if user.rooms | length %}
<p>
{{ 'rooms' | trans }}:
{% for namespace, total in user.rooms %}
<a href="{{
path('room_namespace',
{
mode : request.get('mode'),
namespace : namespace, _fragment : 'latest'
}) }}">{{ namespace | keva_namespace_value }}</a>
{{ total }}
{% endfor %}
</p>
{% endif %}
11 months ago
</div>
</li>
{% endfor %}
</ul>
{% else %}
<ul>
<li>
<div>
{{ 'users not found or database locked by new transaction' | trans }}
</div>
</li>
</ul>
{% endif %}
11 months ago
{% endblock %}
{% block footer_content %}
{{
render(
controller(
'App\\Controller\\ModuleController::user',
{
request: request
}
)
)
}}
11 months ago
{% endblock %}