outOfOffice.ts 687 B

12345678910111213141516171819202122232425
  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. name: 'PersonalSettingOutOfOffice',
  13. component: () => import('../../PersonalSettingOutOfOffice.vue'),
  14. level: 2,
  15. meta: {
  16. title: __('Out of Office'),
  17. requiresAuth: true,
  18. requiredPermission: 'user_preferences.out_of_office+ticket.agent',
  19. },
  20. },
  21. order: 4000,
  22. keywords: __('vacation,holiday,replacement,time off'),
  23. }