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

{% 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 }}
</strong>
<span style="float:right">{# @TODO #}
{{ 'balance: %s KVA' | trans | format(user.balance) }}
</span>
<p>
{{ 'boost' | trans }}: {{ user.address }}
</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 %}
</div>
</li>
{% endfor %}
</ul>
{% else %}
<ul>
<li>
<div>
{{ 'users not found or database locked by new transaction' | trans }}
</div>
</li>
</ul>
{% endif %}
{% endblock %}
{% block footer_content %}
{{
render(
controller(
'App\\Controller\\ModuleController::user',
{
request: request
}
)
)
}}
{% endblock %}