diff sat_templates/templates/bulma/chat/extra_menu.html @ 387:8b990c78d4b5

(bulma/chat): add menu + style for message retraction
author Goffi <goffi@goffi.org>
date Thu, 30 Nov 2023 13:24:43 +0100
parents e63fb06052ae
children
line wrap: on
line diff
--- a/sat_templates/templates/bulma/chat/extra_menu.html	Tue Nov 28 17:48:00 2023 +0100
+++ b/sat_templates/templates/bulma/chat/extra_menu.html	Thu Nov 30 13:24:43 2023 +0100
@@ -12,5 +12,12 @@
                 </a>
             </li>
         {% endif %}
+        {% if retract %}
+            <li class="action_retract">
+                <a href="#" class="">
+                    {{ icon('trash-empty', cls='icon is-small has-text-danger') }} {% trans %}Retract{% endtrans %}
+                </a>
+            </li>
+        {% endif %}
     </ul>
 </div>