From b5e79338a467fe26eb922d7462e974f98ad18778 Mon Sep 17 00:00:00 2001 From: Hugo Zigha Date: Wed, 22 Sep 2021 16:57:15 +0200 Subject: [PATCH] TT#129221 PBXSettings - ManagerSecretary - As PBX-Attendant (Pilot, Seat, Group), I can change my ManagerSecretary preferences Change-Id: If966beb62e0c860b2c80803f166d410a805eff7f --- src/components/CscMainMenuTop.vue | 6 + src/i18n/en.json | 1 + src/pages/CscPagePbxSettingsMsConfigs.vue | 146 ++++++++++++++++++++++ src/router/routes.js | 13 ++ 4 files changed, 166 insertions(+) create mode 100644 src/pages/CscPagePbxSettingsMsConfigs.vue diff --git a/src/components/CscMainMenuTop.vue b/src/components/CscMainMenuTop.vue index ae879de1..6fc21955 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/ms-configs', + icon: 'arrow_forward', + label: this.$t('Manager Secretary'), + visible: true + }, { to: '/user/pbx-settings/auto-attendant', icon: 'dialpad', diff --git a/src/i18n/en.json b/src/i18n/en.json index 9aae0280..e3c7a99c 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -236,6 +236,7 @@ "Mail To Fax feature is not active": "Mail To Fax feature is not active", "Mail to Fax": "Mail to Fax", "Manager Secretary": "Manager Secretary", + "Manager Secretary feature": "Manager Secretary feature", "ManagerSecretary": "ManagerSecretary", "Maximum allowed extension is {max}": "Maximum allowed extension is {max}", "Maximum calls in queue": "Maximum calls in queue", diff --git a/src/pages/CscPagePbxSettingsMsConfigs.vue b/src/pages/CscPagePbxSettingsMsConfigs.vue new file mode 100644 index 00000000..e0a7c0a6 --- /dev/null +++ b/src/pages/CscPagePbxSettingsMsConfigs.vue @@ -0,0 +1,146 @@ + + + diff --git a/src/router/routes.js b/src/router/routes.js index b990ea61..72457c2f 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -31,6 +31,7 @@ import CscPageCallSettings from 'pages/CscPageCallSettings' import CscPageRegisteredDevices from 'pages/CscPageRegisteredDevices' import CscPagePbxSettingsAutoAttendant from 'pages/CscPagePbxSettingsAutoAttendant' import CscPageDashboard from 'pages/CscPageDashboard' +import CscPagePbxSettingsMsConfigs from 'pages/CscPagePbxSettingsMsConfigs' const getToken = (route) => { return { @@ -325,6 +326,18 @@ export default function routes (app) { profileAttribute: PROFILE_ATTRIBUTE_MAP.pbxSettings } }, + { + path: 'pbx-settings/ms-configs', + component: CscPagePbxSettingsMsConfigs, + meta: { + get title () { + return i18n.t('PBX Settings') + }, + get subtitle () { + return i18n.t('Manager Secretary') + } + } + }, { path: 'pbx-settings/auto-attendant', component: CscPagePbxSettingsAutoAttendant,