Browse Source

update info

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

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

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

Loading…
Cancel
Save