diff 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
line wrap: on
line diff
--- a/sat_templates/templates/bulma/call/call_status.html	Wed Aug 16 18:27:06 2023 +0200
+++ b/sat_templates/templates/bulma/call/call_status.html	Thu Aug 17 11:25:19 2023 +0200
@@ -1,3 +1,4 @@
+
 {% if status == none %}
     <div class="call_status notification is-info column my-0">
     </div>
@@ -9,4 +10,16 @@
     <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 == "reconnecting" %}
+    <div class="call_status notification is-warning column my-0">
+        <p>{% trans %}Reconnecting to {{name}}…{% endtrans %}</p>
+    </div>
 {% endif %}