Browse Source

update info

main
ghost 9 months ago
parent
commit
559ecf8de0
  1. 33
      templates/default/user/list.html.twig

33
templates/default/user/list.html.twig

@ -9,19 +9,26 @@
<strong> <strong>
@{{ user.name }} @{{ user.name }}
</strong> </strong>
<span style="float:right">{# @TODO #} <p>
{% for namespace, total in user.rooms %} {{ 'balance' | trans }}: {{ user.balance }}
<a href="{{ </p>
path('room_namespace', <p>
{ {{ 'boost' | trans }}: {{ user.address }}
mode : request.get('mode'), </p>
namespace : namespace, _fragment : 'latest' {% if user.rooms | length %}
}) }}">{{ namespace | keva_namespace_value }}</a> <p>
{{ total }} {{ 'rooms' | trans }}:
{% endfor %} {% for namespace, total in user.rooms %}
</span> <a href="{{
<br /> path('room_namespace',
{{ 'balance' | trans }}: {{ user.balance }} &bull; {{ 'boost' | trans }}: {{ user.address }} {
mode : request.get('mode'),
namespace : namespace, _fragment : 'latest'
}) }}">{{ namespace | keva_namespace_value }}</a>
{{ total }}
{% endfor %}
</p>
{% endif %}
</div> </div>
</li> </li>
{% endfor %} {% endfor %}

Loading…
Cancel
Save