From 5fcc05d543ed090b39d42ba27abd307a29a47f28 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 16 Nov 2016 14:17:21 +0100 Subject: [PATCH] Added missing sipgate config params. --- .../_integration/sipgate_io.coffee | 3 +++ .../app/views/integration/sipgate.jst.eco | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/app/assets/javascripts/app/controllers/_integration/sipgate_io.coffee b/app/assets/javascripts/app/controllers/_integration/sipgate_io.coffee index db8a71ede..060e0c2d2 100644 --- a/app/assets/javascripts/app/controllers/_integration/sipgate_io.coffee +++ b/app/assets/javascripts/app/controllers/_integration/sipgate_io.coffee @@ -6,6 +6,9 @@ class Index extends App.ControllerIntegrationBase ['This service shows you contacts of incoming calls and a caller list in realtime.'] ['Also caller id of outbound calls can be changed.'] ] + events: + 'click .js-select': 'selectAll' + 'change .js-switch input': 'switch' render: => super diff --git a/app/assets/javascripts/app/views/integration/sipgate.jst.eco b/app/assets/javascripts/app/views/integration/sipgate.jst.eco index 9c3f5e98a..937377a86 100644 --- a/app/assets/javascripts/app/views/integration/sipgate.jst.eco +++ b/app/assets/javascripts/app/views/integration/sipgate.jst.eco @@ -1,5 +1,27 @@
+

sipgate.io <%- @T('Settings') %>

+ +

<%- @T('You need to configure the Zammad endpoints in the Sipgate web interface') %>:

+ +

+ + + + + + + + +
<%- @T('Type') %> + <%- @T('URL') %> +
<%- @T('Inbound') %> + +
<%- @T('Outbound') %> + +
+
+

<%- @T('Inbound') %>

<%- @T('Blocked caller ids based on sender caller id.') %>