From b9403d94b09826906f8df22aafd083147f685284 Mon Sep 17 00:00:00 2001 From: Hugo Zigha Date: Tue, 21 Sep 2021 17:52:27 +0200 Subject: [PATCH] TT#129220 PBXSettings - CallQueue - As PBX-Attendant (Pilot, Seat, Group), I can change my CallQueue preferences Change-Id: Ib062007aeaad0e9648850bce872e4ffc519d04cb --- src/components/CscMainMenuTop.vue | 6 + src/i18n/en.json | 1 + src/pages/CscPagePbxSettingsCallQueues.vue | 221 +++++++++++++++++++++ src/router/routes.js | 13 ++ 4 files changed, 241 insertions(+) create mode 100644 src/pages/CscPagePbxSettingsCallQueues.vue diff --git a/src/components/CscMainMenuTop.vue b/src/components/CscMainMenuTop.vue index 6fc21955..66c6047a 100644 --- a/src/components/CscMainMenuTop.vue +++ b/src/components/CscMainMenuTop.vue @@ -211,6 +211,12 @@ export default { label: this.$t('General'), visible: true }, + { + to: '/user/pbx-settings/call-queues', + icon: 'filter_none', + label: this.$t('Call Queues'), + visible: true + }, { to: '/user/pbx-settings/ms-configs', icon: 'arrow_forward', diff --git a/src/i18n/en.json b/src/i18n/en.json index e3c7a99c..2b0c16f8 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -59,6 +59,7 @@ "Call Forwarding": "Call Forwarding", "Call List": "Call List", "Call Queue": "Call Queue", + "Call Queue feature": "Call Queue feature", "Call Queues": "Call Queues", "Call Settings": "Call Settings", "Call Through": "Call Through", diff --git a/src/pages/CscPagePbxSettingsCallQueues.vue b/src/pages/CscPagePbxSettingsCallQueues.vue new file mode 100644 index 00000000..1a031bdf --- /dev/null +++ b/src/pages/CscPagePbxSettingsCallQueues.vue @@ -0,0 +1,221 @@ + + + diff --git a/src/router/routes.js b/src/router/routes.js index 72457c2f..08b93321 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -32,6 +32,7 @@ import CscPageRegisteredDevices from 'pages/CscPageRegisteredDevices' import CscPagePbxSettingsAutoAttendant from 'pages/CscPagePbxSettingsAutoAttendant' import CscPageDashboard from 'pages/CscPageDashboard' import CscPagePbxSettingsMsConfigs from 'pages/CscPagePbxSettingsMsConfigs' +import CscPagePbxSettingsCallQueues from 'pages/CscPagePbxSettingsCallQueues' const getToken = (route) => { return { @@ -326,6 +327,18 @@ export default function routes (app) { profileAttribute: PROFILE_ATTRIBUTE_MAP.pbxSettings } }, + { + path: 'pbx-settings/call-queues', + component: CscPagePbxSettingsCallQueues, + meta: { + get title () { + return i18n.t('PBX Settings') + }, + get subtitle () { + return i18n.t('Call Queues') + } + } + }, { path: 'pbx-settings/ms-configs', component: CscPagePbxSettingsMsConfigs,