outOfOffice.ts 702 B

1234567891011121314151617181920212223242526
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { PersonalSettingPlugin } from './types.ts'
  3. export default <PersonalSettingPlugin>{
  4. label: __('Out of Office'),
  5. category: {
  6. label: __('Profile'),
  7. id: 'category-profile',
  8. order: 1000,
  9. },
  10. route: {
  11. path: 'out-of-office',
  12. alias: '',
  13. name: 'PersonalSettingOutOfOffice',
  14. component: () => import('../../PersonalSettingOutOfOffice.vue'),
  15. level: 2,
  16. meta: {
  17. title: __('Out of Office'),
  18. requiresAuth: true,
  19. requiredPermission: 'user_preferences.out_of_office+ticket.agent',
  20. },
  21. },
  22. order: 4000,
  23. keywords: __('vacation,holiday,replacement,time off'),
  24. }