aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/templates/views/thread.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-10 15:36:32 +0300
committerGravatar Vitaly Takmazov2018-05-10 15:36:32 +0300
commita55e3a75241ff1313dcb9ece8e8d153b9a253649 (patch)
tree6a05c34c746e56fbb10a2e7eec28e0be48cc682f /juick-www/src/main/resources/templates/views/thread.html
parentb642c55f053583533e23b1fc7fc5ac318fcbd7f0 (diff)
www: mark read over API
Diffstat (limited to 'juick-www/src/main/resources/templates/views/thread.html')
-rw-r--r--juick-www/src/main/resources/templates/views/thread.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-www/src/main/resources/templates/views/thread.html b/juick-www/src/main/resources/templates/views/thread.html
index 5981bd10..e002bc71 100644
--- a/juick-www/src/main/resources/templates/views/thread.html
+++ b/juick-www/src/main/resources/templates/views/thread.html
@@ -107,6 +107,9 @@
</li>
</ul>
<div class="title2">
+ {% if visitor.uid > 0 %}
+ <img src="https://api.juick.com/thread/mark_read/{{ msg.mid }}-{{ msg.rid }}.gif?hash={{visitor.authHash}}" />
+ {% endif %}
<h2>{{ i18n("messages","reply.replies") }} ({{ replies.size() }})</h2>
</div>