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 parent: opencase_reporting.reporting_menu
url: internal:/opencase/reporting/volunteers url: internal:/opencase/reporting/volunteers
weight: 1 weight: 1
opencase.opencase_add_people_menu: opencase.opencase_all_cases:
title: 'Add people' title: 'Cases'
description: 'Add new people' description: 'All cases I have access to'
menu_name: opencase menu_name: opencase
route_name: opencase.opencase_people_menu parent: opencase.see_all
url: internal:/opencase/all-cases
weight: 1 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...' title: 'See all...'
menu_name: opencase menu_name: opencase
route_name: opencase.opencase_cases_menu route_name: opencase.opencase_cases_menu
weight: 0 weight: 0
opencase.opencase_all_cases: opencase.opencase_add_new_things_menu:
title: 'Cases' title: 'Add new...'
description: 'All cases I have access to'
menu_name: opencase menu_name: opencase
parent: opencase.cases route_name: opencase.opencase_add_new_things_menu
url: internal:/opencase/all-cases
weight: 1 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: opencase.opencase_admin_menu:
title: 'Administration' title: 'Administration'
description: 'Management and Configuration' description: 'Management and Configuration'

View File

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