annotate sat_templates/templates/bulma/chat/reactions.html @ 389:2eaea9a9c234

bulma (chat/message): fix setting of `own_mess` class.
author Goffi <goffi@goffi.org>
date Wed, 13 Dec 2023 22:01:20 +0100
parents 941e4006ab6e
children 38635d393089
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 <div class="reactions-container is-flex-wrap-wrap">
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% for emoji, jids in reactions.items() %}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 <div
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 class="reaction box is-shadowless is-inline-flex is-align-items-center my-1 ml-0 mr-2 px-2 py-1 is-size-6 has-background-light has-border is-not-selectable"
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 data-jids='{{jids|tojson}}'
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 >
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <span class="emoji has-text-weight-semibold">{{ emoji }}</span>
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <span class="counter">{{ jids|length }}</span>
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 </div>
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% endfor %}
941e4006ab6e bulma (message): reactions + fixes:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 </div>