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 @@
<li> <li>
<div> <div>
<strong> <strong>
@{{ user.name }} / {{ 'balance' | trans }}: {{ user.balance }} / {{ 'boost' | trans }}: {{ user.address }} @{{ user.name }}
</strong> </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 /> <br />
{% for namespace, total in user.rooms %} {{ 'balance' | trans }}: {{ user.balance }} &bull; {{ 'boost' | trans }}: {{ user.address }}
<a href="{{
path('room_namespace',
{
mode : request.get('mode'),
namespace : namespace, _fragment : 'latest'
}) }}">{{ namespace | keva_namespace_value }}</a>
{{ total }}
{% endfor %}
</div> </div>
</li> </li>
{% endfor %} {% endfor %}

Loading…
Cancel
Save