view sat_templates/templates/bulma/chat/reactions_details.html @ 390:38635d393089

bulma (chat/reactions): use a special style for reactions made by the user.
author Goffi <goffi@goffi.org>
date Wed, 13 Dec 2023 22:01:46 +0100
parents 941e4006ab6e
children
line wrap: on
line source

{% 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>