moved some menu links around for modularity

This commit is contained in:
Naomi 2020-11-09 16:18:14 +00:00
parent 6f33d59842
commit df2c826a33
3 changed files with 15 additions and 16 deletions

View File

@ -10,15 +10,11 @@ opencase_defaults.report_on_volunteers:
parent: opencase_reporting.reporting_menu
url: internal:/opencase/reporting/volunteers
weight: 1
opencase.opencase_add_people_menu:
title: 'Add people'
description: 'Add new people'
opencase.opencase_all_cases:
title: 'Cases'
description: 'All cases I have access to'
menu_name: opencase
route_name: opencase.opencase_people_menu
parent: opencase.see_all
url: internal:/opencase/all-cases
weight: 1
opencase.add_people_links:
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
deriver: Drupal\opencase\Plugin\Derivative\AddActorsMenuLink
menu_name: opencase
parent: opencase.opencase_add_people_menu

View File

@ -1,15 +1,18 @@
opencase.cases:
opencase.see_all:
title: 'See all...'
menu_name: opencase
route_name: opencase.opencase_cases_menu
weight: 0
opencase.opencase_all_cases:
title: 'Cases'
description: 'All cases I have access to'
opencase.opencase_add_new_things_menu:
title: 'Add new...'
menu_name: opencase
parent: opencase.cases
url: internal:/opencase/all-cases
route_name: opencase.opencase_add_new_things_menu
weight: 1
opencase.add_people_links:
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
deriver: Drupal\opencase\Plugin\Derivative\AddActorsMenuLink
menu_name: opencase
parent: opencase.opencase_add_new_things_menu
opencase.opencase_admin_menu:
title: 'Administration'
description: 'Management and Configuration'

View File

@ -6,7 +6,7 @@ opencase.opencase_cases_menu:
path: '/'
requirements:
_permission: 'use opencase'
opencase.opencase_people_menu:
opencase.opencase_add_new_things_menu:
path: '/'
requirements:
_permission: 'use opencase'