diff options
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r-- | src/main/resources/templates/views/users.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/resources/templates/views/users.html b/src/main/resources/templates/views/users.html index 702ba6b9..f5b15f77 100644 --- a/src/main/resources/templates/views/users.html +++ b/src/main/resources/templates/views/users.html @@ -3,11 +3,13 @@ {% block content %} <div class="users"> {% for u in users %} - <span> - <a href="/{{ u.name }}/"> - <img src="//i.juick.com/as/{{ u.uid }}.png" alt="{{ u.name }}"/> - {{ u.name }} - </a> + <span class="msg-header" {% if (u.uri is not empty) %} data-uri="{{ u.uri }}" {% endif %}> + <div class="msg-avatar"> + <a class="a-username" href="/{{ u.name | default(u.uri) }}/"> + <img src="//i.juick.com/as/{{ u.uid }}.png" alt="{{ u.name | default(u.uri) }}"/> + </a> + </div> + <a class="a-username" href="/{{ u.name | default(u.uri) }}/">{{ u.name | default('Anonymous') }}</a> </span> {% endfor %} </div> |