view sat_templates/templates/bulma/call/call_status.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 16dc76f58782
children
line wrap: on
line source

{% if status == none %}
    <div class="call_status notification is-info column my-0">
    </div>
{% elif status == "dialing" %}
    <div class="call_status notification is-info column my-0">
        <p>{% trans %}Calling {{name}}{% endtrans %}</p>
    </div>
{% elif status == "ringing" %}
    <div class="call_status notification is-info column my-0">
        <p>{% trans %}{{name}}'s device is ringing…{% endtrans %}</p>
    </div>
{% elif status == "in-call" %}
    <div class="call_status notification is-success column my-0">
        <p>{% trans %}In call with {{name}}.{% endtrans %}</p>
    </div>
{% elif status == "on-hold" %}
    <div class="call_status notification is-warning column my-0">
        <p>{% trans %}Call with {{name}} is on hold…{% endtrans %}</p>
    </div>
{% elif status == "connecting" %}
    <div class="call_status notification is-info column my-0">
        <p>{% trans %}Connecting with {{name}}{% endtrans %}</p>
    </div>
{% elif status == "connection-lost" %}
    <div class="call_status notification is-danger column my-0">
        <p>{% trans %}Connection with {{name}} lost.{% endtrans %}</p>
    </div>
{% elif status == "reconnecting" %}
    <div class="call_status notification is-warning column my-0">
        <p>{% trans %}Reconnecting to {{name}}{% endtrans %}</p>
    </div>
{% endif %}