More on menu

This commit is contained in:
Naomi 2018-11-09 15:56:03 +00:00
parent 3e6011a359
commit da0c0ff1b5
2 changed files with 21 additions and 6 deletions

View File

@ -1,13 +1,20 @@
opencase.all-cases: opencase.cases:
title: 'My cases' title: 'Cases'
description: '' description: 'View cases'
menu_name: opencase menu_name: opencase
url: internal:/opencase/all-cases url: internal:#
weight: 0 weight: 0
opencase.opencase_all_cases:
title: 'All Cases'
description: 'All cases I have access to'
menu_name: opencase
parent: opencase.cases
url: internal:/opencase/all-cases
weight: 1
opencase.opencase_add_people_menu: opencase.opencase_add_people_menu:
title: 'Add people' title: 'Add people'
description: 'Add more people to OpenCase' description: 'Add new people'
menu_name: opencase menu_name: opencase
url: internal:# url: internal:#
weight: 1 weight: 1
@ -20,8 +27,8 @@ opencase.add_people_links:
opencase.opencase_admin_menu: opencase.opencase_admin_menu:
title: 'Administration' title: 'Administration'
description: 'Management and Configuration' description: 'Management and Configuration'
route_name: opencase.opencase_admin_menu
menu_name: opencase menu_name: opencase
url: internal:#
weight: 100 weight: 100
opencase.manage_user_logins: opencase.manage_user_logins:
title: 'Manage user logins' title: 'Manage user logins'

8
opencase.routing.yml Normal file
View File

@ -0,0 +1,8 @@
opencase.opencase_admin_menu:
path: '#'
requirements:
_permission: 'administer users'
opencase.opencase_admin_menu:
path: '#'
requirements:
_permission: 'administer users'