mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
improve location: admin menu
This commit is contained in:
@@ -55,22 +55,13 @@ class AdminSectionMenuBuilder implements LocalMenuBuilderInterface
|
||||
'explain' => "Configure permissions for users"
|
||||
]);
|
||||
|
||||
$menu->addChild('Location', [
|
||||
'route' => 'chill_crud_main_location_index'
|
||||
$menu->addChild('Location and location type', [
|
||||
'route' => 'chill_main_admin_locations'
|
||||
])
|
||||
->setExtras([
|
||||
'icons' => ['key'],
|
||||
'order' => 205,
|
||||
'explain' => "Configure location"
|
||||
]);
|
||||
|
||||
$menu->addChild('Location type', [
|
||||
'route' => 'chill_crud_main_location_type_index'
|
||||
])
|
||||
->setExtras([
|
||||
'icons' => ['key'],
|
||||
'order' => 205,
|
||||
'explain' => "Configure location type"
|
||||
'explain' => "Configure location and location type"
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user