diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js
index 5d41cf88afb..18fcf78c3e4 100644
--- a/src/i18n/en/index.js
+++ b/src/i18n/en/index.js
@@ -255,6 +255,7 @@ export default {
list: 'List',
basicData: 'Basic data',
summary: 'Summary',
+ notifications: 'Notifications',
},
list: {
name: 'Name',
@@ -288,6 +289,15 @@ export default {
role: 'Role',
sipExtension: 'Extension',
},
+ notificationsManager: {
+ activeNotifications: 'Active notifications',
+ availableNotifications: 'Available notifications',
+ table: {
+ name: 'Permission description',
+ subscribed: 'Subscribed',
+ role: 'Necessary role',
+ }
+ },
},
components: {
topbar: {},
diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js
index 2b810b39927..c079c062955 100644
--- a/src/i18n/es/index.js
+++ b/src/i18n/es/index.js
@@ -253,6 +253,7 @@ export default {
list: 'Listado',
basicData: 'Datos básicos',
summary: 'Resumen',
+ notifications: 'Notificaciones'
},
list: {
name: 'Nombre',
@@ -286,6 +287,10 @@ export default {
role: 'Rol',
sipExtension: 'Extensión',
},
+ notificationsManager: {
+ activeNotifications: 'Notificaciones activas',
+ availableNotifications: 'Notificaciones disponibles',
+ },
},
components: {
topbar: {},
diff --git a/src/pages/Worker/Card/WorkerCard.vue b/src/pages/Worker/Card/WorkerCard.vue
index b014e9b7f04..23677f0f6ad 100644
--- a/src/pages/Worker/Card/WorkerCard.vue
+++ b/src/pages/Worker/Card/WorkerCard.vue
@@ -18,6 +18,12 @@ const { t } = useI18n();
{{ t('worker.pageTitles.basicData') }}
+
+
+
+
+ {{ t('worker.pageTitles.notifications') }}
+
diff --git a/src/pages/Worker/Card/WorkerDescriptor.vue b/src/pages/Worker/Card/WorkerDescriptor.vue
index 1308264c032..5746f220a0e 100644
--- a/src/pages/Worker/Card/WorkerDescriptor.vue
+++ b/src/pages/Worker/Card/WorkerDescriptor.vue
@@ -1,5 +1,5 @@
+
+
+
+
+
+
+
+ {{ t('worker.notificationsManager.activeNotifications') }}
+
+
+
+
+
+
+
+ {{ t('worker.notificationsManager.availableNotifications') }}
+
+
+
+
+
+ {{ t('worker.notificationsManager.table.name') }}
+ {{ t('worker.notificationsManager.table.subscribed') }}
+ {{ t('worker.notificationsManager.table.role') }}
+
+
+
+
+ {{ props.row.notification.description }}
+
+
+
+ {{ props.row.role.name }}
+
+
+
+
+
+
+
+
diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js
index d5703d04b51..0c5e45b4252 100644
--- a/src/router/modules/worker.js
+++ b/src/router/modules/worker.js
@@ -41,6 +41,14 @@ export default {
},
component: () => import('src/pages/Worker/Card/WorkerSummary.vue'),
},
+ {
+ name: 'WorkerNotificationsManager',
+ path: 'notifications',
+ meta: {
+ title: 'notifications'
+ },
+ component: () => import('src/pages/Worker/Card/WorkerNotificationsManager.vue'),
+ },
]
},
]