calendar.ts 674 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: __('Calendar'),
  5. category: {
  6. label: __('Tickets'),
  7. id: 'category-tickets',
  8. order: 3000,
  9. },
  10. route: {
  11. path: 'calendar-subscriptions',
  12. name: 'PersonalSettingCalendar',
  13. component: () => import('../../PersonalSettingCalendar.vue'),
  14. level: 2,
  15. meta: {
  16. title: __('Calendar'),
  17. requiresAuth: true,
  18. requiredPermission: ['user_preferences.calendar+ticket.agent'],
  19. },
  20. },
  21. order: 3000,
  22. keywords: __('subscription,calendars,ticket,ical'),
  23. }