Mercurial > libervia-templates
diff sat_templates/templates/bulma/chat/reactions.html @ 405:5016fb0ff62f default tip
Blog redesign: work in progress redesign of the blog.
Some templates have been moved from chat to components to be re-used in other features,
like blog here.
Blog follows same global design as chat with a left panel to search/open blogs.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 21 May 2025 15:41:00 +0200 |
parents | 66f98ee041d8 |
children |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/chat/reactions.html Tue May 06 00:37:41 2025 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -<div class="reactions-container is-flex-wrap-wrap"> - - {% if chat_type == "group" %} - {% set local_jid = own_local_jid %} - {% else %} - {% set local_jid = own_local_jid|bare_jid %} - {% endif %} - - {% for emoji, jids in reactions.items() %} - {% set own_reaction = local_jid in jids %} - <div - class="reaction is-inline-flex is-align-items-center {{ 'own-reaction' if own_reaction }}" - data-jids='{{jids|tojson}}' - > - <span class="emoji has-text-weight-semibold">{{ emoji }}</span> - <span class="counter">{{ jids|length }}</span> - </div> - {% endfor %} -</div>