annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
385
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% import 'components/avatar.html' as avatar with context %}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 <div class="reacting-users-list">
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% for jid in reacting_jids %}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 <div class="reacting-user-item is-flex is-align-items-center mb-2">
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {{ avatar.avatar(jid, "is-24x24") }}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <span class="reacting-user-nickname ml-2">
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 {{ identities[jid].nicknames[0] if identities[jid].nicknames else jid }}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 </span>
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 </div>
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 {% endfor %}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </div>