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.
 
 
 

48 lines
1.5 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 #}
{% 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 %}
</span>
</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 %}