From b96500603cc7ca77150860409627512d5d555bc7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 17 Oct 2018 14:14:58 +0100 Subject: [PATCH] poeple: Show more SIP status information Signed-off-by: Michael Tremer --- src/templates/people/modules/channels.html | 2 + src/templates/people/sip.html | 47 +++++++++++++++++----- 2 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/templates/people/modules/channels.html b/src/templates/people/modules/channels.html index d3ae2217..89f1d0d6 100644 --- a/src/templates/people/modules/channels.html +++ b/src/templates/people/modules/channels.html @@ -1,6 +1,8 @@ {% if channels %}
+
{{ _("Ongoing Calls") }}
+ {% for chan in channels %} diff --git a/src/templates/people/sip.html b/src/templates/people/sip.html index c87478ef..8276ba77 100644 --- a/src/templates/people/sip.html +++ b/src/templates/people/sip.html @@ -1,15 +1,42 @@ {% extends "base.html" %} -{% block title %}{{ _("Registrations") }}{% end block %} +{% block title %}{{ _("SIP Status of %s") % account }}{% end block %} {% block main %} -
-
-
- {{ _("Active Registrations for %s") % account }} -
- - {% module Registrations(account) %} -
-
+ {% module Channels(account) %} + +
+
+
+ {{ _("Active SIP Registrations") }} +
+ + {% module Registrations(account) %} +
+
+ +
+
+
{{ _("SIP Credentials") }}
+ +

+ {{ _("Use these credentials to connect a SIP client to our SIP server") }} +

+ +
+
+
+
{{ _("SIP Server") }}
+
ipfire.org
+ +
{{ _("Username") }}
+
{{ account.sip_id }}
+ +
{{ _("Password") }}
+
{{ account.sip_password }}
+
+
+
+
+
{% end block %} -- 2.47.3