From 195fe08d06d213cb09ef8970784c104c43596af6 Mon Sep 17 00:00:00 2001 From: JR Maitre Date: Tue, 7 Nov 2017 09:41:43 -0800 Subject: [PATCH 1/2] UI-2952: adding webrtc mode to softphones in smart pbx --- i18n/en-US.json | 6 ++++++ views/devices-softphone.html | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/i18n/en-US.json b/i18n/en-US.json index 637c0b8..19b5af9 100644 --- a/i18n/en-US.json +++ b/i18n/en-US.json @@ -225,6 +225,12 @@ "label": "Allow Reprovision", "button": "Unlock", "success": "This device is unlocked for the next 24 hours" + }, + "__comment": "UI-1917: Add button to unlock device on SmartPBX app", + "__version": "3.22", + "mediaWebrtc": { + "help": "If checked, forces a WebRTC compatible SDP on the INVITE.", + "label": "WebRTC" } }, "restrictions": { diff --git a/views/devices-softphone.html b/views/devices-softphone.html index 97ef8e9..b98dcb3 100644 --- a/views/devices-softphone.html +++ b/views/devices-softphone.html @@ -179,6 +179,15 @@ +
+ +
+
-
- -
- + {{#unless _whitelabel.hide_user_passwords}} +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
+ {{/unless}} - {{#monsterText}} - {{i18n.users.dialogChangePassword.help}} -

- {{i18n.users.dialogChangePassword.resetPassword.text}} - {{i18n.users.dialogChangePassword.resetPassword.linkTitle}}. - {{/monsterText}} + {{#unless _whitelabel.hide_user_passwords}} + {{#monsterText}} + {{i18n.users.dialogChangePassword.help}} +

+ {{i18n.users.dialogChangePassword.resetPassword.text}} + {{i18n.users.dialogChangePassword.resetPassword.linkTitle}}. + {{/monsterText}} + {{/unless}}
diff --git a/views/users-creation.html b/views/users-creation.html index 2d4da68..333bc15 100644 --- a/views/users-creation.html +++ b/views/users-creation.html @@ -16,12 +16,14 @@
-
- -
- + {{#unless _whitelabel.hide_user_passwords}} +
+ +
+ +
-
+ {{/unless}}