aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-22 23:50:59 +0300
committerGravatar Vitaly Takmazov2022-12-23 00:22:40 +0300
commita57278568eb10b843f76ceaa34f0b2ed36acbbb2 (patch)
tree4aab7e961c518158e0f6d1f0598ba924b4930b06 /src/main/resources/templates
parent3c5cfe677e013e0bcf10d168c08ac37a93482583 (diff)
Show external followers in stats
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/views/users.html12
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>