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 @@ @@ -9,7 +9,15 @@
<strong>
@{{ user.name }}
</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 %}
<a href="{{
path('room_namespace',
@ -19,9 +27,8 @@ @@ -19,9 +27,8 @@
}) }}">{{ namespace | keva_namespace_value }}</a>
{{ total }}
{% endfor %}
</span>
<br />
{{ 'balance' | trans }}: {{ user.balance }} &bull; {{ 'boost' | trans }}: {{ user.address }}
</p>
{% endif %}
</div>
</li>
{% endfor %}

Loading…
Cancel
Save