From a162119922b36d9264a5b5bfaa511d02900129e1 Mon Sep 17 00:00:00 2001 From: sbgap Date: Mon, 21 Oct 2024 11:54:41 +0200 Subject: [PATCH 1/2] feat: add phone_numbers and mails to notificatin groups --- src/components/NotificationGroupList.vue | 54 +++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/src/components/NotificationGroupList.vue b/src/components/NotificationGroupList.vue index e1a8bbf3..6ebc8709 100644 --- a/src/components/NotificationGroupList.vue +++ b/src/components/NotificationGroupList.vue @@ -27,6 +27,24 @@ /> + + + + + + + + - {{ $t('notificationGroup') }} + {{ $t('Notification Groups') }} + + + {{ number }} + + + + + {{ mail }} + + !!v || i18n.t('Required') @@ -309,6 +359,8 @@ export default { { name: this.editedItem.name, users: this.editedItem.users, + phoneNumbers: this.editedItem.phoneNumbers, + mails: this.editedItem.mails } ]) } else { From 6560073e1514c9cbedd19cd6c5729611553e76bd Mon Sep 17 00:00:00 2001 From: sbgap Date: Mon, 21 Oct 2024 11:57:00 +0200 Subject: [PATCH 2/2] refac: fix same styles for titles of pages --- src/App.vue | 14 +++++++------- src/components/EscalationRuleList.vue | 2 +- src/components/NotificationChannelList.vue | 2 +- src/components/NotificationDelayList.vue | 2 +- src/components/NotificationRuleList.vue | 2 +- src/components/OnCallList.vue | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6678b267..5d912417 100644 --- a/src/App.vue +++ b/src/App.vue @@ -590,21 +590,21 @@ export default { }, { icon: 'history', - text: i18n.t('NotificationHistory'), + text: i18n.t('Notification History'), path: '/notificationhistory', perms: 'read:notification_history', show: true }, { icon: 'av_timer', - text: i18n.t('NotificationDelay'), + text: i18n.t('Notification Delays'), path: '/notificationdelays', perms: 'read:notification_rules', show: true }, { icon: 'arrow_upward', - text: i18n.t('EscalationRules'), + text: i18n.t('Escalation Rules'), path: '/escalationrules', perms: 'read:escalation_rules', show: true @@ -639,14 +639,14 @@ export default { }, { icon: 'people', - text: i18n.t('NotificationGroups'), + text: i18n.t('Notification Groups'), path: '/notificationgroups', perms: 'read:notification_groups', show: true }, { icon: 'phone', - text: i18n.t('OnCall'), + text: i18n.t('On Call'), path: '/oncall', perms: 'read:notification_rules', show: true @@ -667,14 +667,14 @@ export default { }, { icon: 'notifications', - text: i18n.t('NotificationChannels'), + text: i18n.t('Notification Channels'), path: '/notificationchannels', perms: 'read:notification_channels', show: true }, { icon: 'notifications', - text: i18n.t('NotificationRules'), + text: i18n.t('Notification Rules'), path: '/notificationrules', perms: 'read:notification_rules', show: true diff --git a/src/components/EscalationRuleList.vue b/src/components/EscalationRuleList.vue index 7ddc655a..af315114 100644 --- a/src/components/EscalationRuleList.vue +++ b/src/components/EscalationRuleList.vue @@ -248,7 +248,7 @@ - {{ $t('escalationRules') }} + {{ $t('Escalation Rules') }} - {{ $t('notificationChannels') }} + {{ $t('Notification Channels') }}