diff sat_templates/templates/bulma/chat/editions.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
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/chat/editions.html	Tue Nov 28 17:48:00 2023 +0100
@@ -0,0 +1,12 @@
+<ul>
+    {% for edition in editions %}
+        <li class="m-2">
+            <span class="tag is-info is-light">
+                {{ edition.timestamp | date_fmt(fmt="auto_day", auto_new_fmt="relative") }}
+            </span>
+            <span class="ml-2">{{ edition.text }}</span>
+        </li>
+    {% endfor %}
+</ul>
+
+