diff sat_templates/templates/bulma/chat/message.html @ 364:095bd5b34080

chat: add templates for URL previews
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:40:53 +0200
parents cddac8502c4b
children a5a80d761e3e
line wrap: on
line diff
--- a/sat_templates/templates/bulma/chat/message.html	Wed Jun 28 10:40:53 2023 +0200
+++ b/sat_templates/templates/bulma/chat/message.html	Wed Jun 28 10:40:53 2023 +0200
@@ -39,6 +39,11 @@
             <p class="msg_body has-whitespace-pre-wrap" id="msg_body_{{msg.id}}" style="margin: 0;">
             {{- msg.html or (msg.text|e|urlize|safe) -}}
             </p>
+
+            <div class="url-previews is-hidden">
+                <div class="icon-container"></div>
+            </div>
+
             <div id="actions_{{msg.id}}" class="level is-mobile actions mb-0">
                 <div class="level-right">
                     {#{{ icon('share', cls='icon is-small action-button', id='msg_share_{{msg.id}}') }} #}