annotate sat_templates/templates/bulma/chat/reactions_details.html @ 386:e63fb06052ae

bulma: message edition + extra menu + improvments: - add an extra menu template with `Edit` and `Quote` - add a template for previous editions popup - fix `own_msg` class application - add CSS for edit mode - cosmetic changes
author Goffi <goffi@goffi.org>
date Tue, 28 Nov 2023 17:48:00 +0100
parents 941e4006ab6e
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>