comparison sat_templates/templates/bulma/call/call_status.html @ 377:d54565d166d7

bulma (call/status): add "in-call", "on-hold" and "reconnecting" statuses
author Goffi <goffi@goffi.org>
date Thu, 17 Aug 2023 11:25:19 +0200
parents c1f384f006e8
children 16dc76f58782
comparison
equal deleted inserted replaced
376:c1f384f006e8 377:d54565d166d7
1
1 {% if status == none %} 2 {% if status == none %}
2 <div class="call_status notification is-info column my-0"> 3 <div class="call_status notification is-info column my-0">
3 </div> 4 </div>
4 {% elif status == "dialing" %} 5 {% elif status == "dialing" %}
5 <div class="call_status notification is-info column my-0"> 6 <div class="call_status notification is-info column my-0">
7 </div> 8 </div>
8 {% elif status == "ringing" %} 9 {% elif status == "ringing" %}
9 <div class="call_status notification is-info column my-0"> 10 <div class="call_status notification is-info column my-0">
10 <p>{% trans %}{{name}}'s device is ringing…{% endtrans %}</p> 11 <p>{% trans %}{{name}}'s device is ringing…{% endtrans %}</p>
11 </div> 12 </div>
13 {% elif status == "in-call" %}
14 <div class="call_status notification is-success column my-0">
15 <p>{% trans %}In call with {{name}}.{% endtrans %}</p>
16 </div>
17 {% elif status == "on-hold" %}
18 <div class="call_status notification is-warning column my-0">
19 <p>{% trans %}Call with {{name}} is on hold…{% endtrans %}</p>
20 </div>
21 {% elif status == "reconnecting" %}
22 <div class="call_status notification is-warning column my-0">
23 <p>{% trans %}Reconnecting to {{name}}…{% endtrans %}</p>
24 </div>
12 {% endif %} 25 {% endif %}