Mercurial > libervia-templates
changeset 378:16dc76f58782
bulma (call/status): add `connecting` and `connection-lost` statuses
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 17 Aug 2023 14:59:35 +0200 |
parents | d54565d166d7 |
children | 44337471d390 |
files | sat_templates/templates/bulma/call/call_status.html |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/call/call_status.html Thu Aug 17 11:25:19 2023 +0200 +++ b/sat_templates/templates/bulma/call/call_status.html Thu Aug 17 14:59:35 2023 +0200 @@ -1,4 +1,3 @@ - {% if status == none %} <div class="call_status notification is-info column my-0"> </div> @@ -18,6 +17,14 @@ <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>