Commit c226720c authored by Mat's avatar Mat

fragment: on met un lien sur chaque user, qui servira à consulter l'historique de conversation

parent a9a33efb
......@@ -22,12 +22,14 @@
{# @var user \SocketBundle\Entity\User #}
{# pour avoir l'autocomplétion #}
<a class="user_history" href="{{ user.username }}">
<img src="{{ '' ~ user.avatar | default('default.jpg') }}" alt="avatar" class="avatar">
normalement, asset() retourne 'localhost/tbws/web/'
mais avec web socket, asset() retourne juste 'localhost'
<span>{{ user.username }}</span>
{% endfor %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment