diff sat_templates/templates/bulma/chat/reactions_details.html @ 385:941e4006ab6e

bulma (message): reactions + fixes: - add "reaction" button - fix attachments display - add reaction templates - add reactions to messages - fix "info" messages display
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 15:22:11 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/chat/reactions_details.html	Wed Nov 22 15:22:11 2023 +0100
@@ -0,0 +1,12 @@
+{% import 'components/avatar.html' as avatar with context %}
+
+<div class="reacting-users-list">
+    {% for jid in reacting_jids %}
+        <div class="reacting-user-item is-flex is-align-items-center mb-2">
+            {{ avatar.avatar(jid, "is-24x24") }}
+            <span class="reacting-user-nickname ml-2">
+                {{ identities[jid].nicknames[0] if identities[jid].nicknames else jid }}
+            </span>
+        </div>
+    {% endfor %}
+</div>