# HG changeset patch # User Goffi # Date 1749396698 -7200 # Node ID f45c311710b1f0f2f47cf70810e7e70f7108c93b # Parent 049a0638f6fa2649a3bc48d9db7e7ad18f90ca51 chat (message): Add origin of the message: A tag is used to show origin of the message below header. A "bot" tag is also added is the sender identifies itself as a bot. rel 459 diff -r 049a0638f6fa -r f45c311710b1 sat_templates/templates/bulma/chat/message.html --- a/sat_templates/templates/bulma/chat/message.html Fri Jun 06 10:50:35 2025 +0200 +++ b/sat_templates/templates/bulma/chat/message.html Sun Jun 08 17:31:38 2025 +0200 @@ -48,6 +48,20 @@ + {% if msg.extra.origin or msg.extra.get("is-bot") %} +
+ {% if msg.extra.origin == "smtp" %} + + 🖂 {% trans %}email{% endtrans %} + {% else %} + {{msg.extra.origin}} + {% endif %} + {% if msg.extra.get("is-bot") %} + 🤖 bot + {% endif %} +
+ {% endif %} + {% endif -%}