view 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 source

<div class="extra-menu-popup">
    <ul class="menu-list">
        <li class="action_quote">
            <a href="#" class="">
                {{ icon('quote-left', cls='icon is-small') }} {% trans %}Quote{% endtrans %}
            </a>
        </li>
        {% if edit %}
            <li class="action_edit">
                <a href="#" class="">
                    {{ icon('pencil', cls='icon is-small') }} {% trans %}Edit{% endtrans %}
                </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>