aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/resources
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-05 16:39:40 +0300
committerGravatar Vitaly Takmazov2018-10-05 16:39:40 +0300
commit279b60a55a9f9929d75f41fc0e546c6ceed16eb6 (patch)
tree69b6b709cea39e65d9d21de3c4a07a7d85bb9552 /juick-server/src/main/resources
parent320e28e55006c317e166d3c1e7b093fafba22462 (diff)
fetch anonymous user info
Diffstat (limited to 'juick-server/src/main/resources')
-rw-r--r--juick-server/src/main/resources/templates/views/thread.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/juick-server/src/main/resources/templates/views/thread.html b/juick-server/src/main/resources/templates/views/thread.html
index 2bed39ae..af9b4069 100644
--- a/juick-server/src/main/resources/templates/views/thread.html
+++ b/juick-server/src/main/resources/templates/views/thread.html
@@ -120,11 +120,13 @@
{% for msg in replies %}
<li id="{{ msg.rid }}" class="msg">
<div class="msg-cont">
- <div class="msg-header">
+ <div class="msg-header" data-uri="{{ msg.user.uri }}">
{% if not msg.user.banned %}
- <a href="/{{ msg.user.name }}/" data-uri="{{ msg.user.uri }}">{{ msg.user.name }}</a>
- <div class="msg-avatar"><a href="/{{ msg.user.name }}/" data-uri="{{ msg.user.uri }}">
- <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/></a>
+ <a class="a-username" href="/{{ msg.user.name }}/">{{ msg.user.name }}</a>
+ <div class="msg-avatar">
+ <a class="a-username" href="/{{ msg.user.name }}/">
+ <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/>
+ </a>
</div>
{% else %}
[удалено]: