Browse Source

update balance info position

main
ghost 4 months ago
parent
commit
d8901e921d
  1. 23
      templates/default/user/list.html.twig

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

@ -7,18 +7,21 @@ @@ -7,18 +7,21 @@
<li>
<div>
<strong>
@{{ user.name }} / {{ 'balance' | trans }}: {{ user.balance }} / {{ 'boost' | trans }}: {{ user.address }}
@{{ 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>
<br />
{% 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 %}
{{ 'balance' | trans }}: {{ user.balance }} &bull; {{ 'boost' | trans }}: {{ user.address }}
</div>
</li>
{% endfor %}

Loading…
Cancel
Save