improve location: admin menu

This commit is contained in:
nobohan
2021-10-25 11:16:17 +02:00
parent 21f463ccb9
commit 82a679c233
8 changed files with 96 additions and 14 deletions

View File

@@ -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"
]);
}