admin: reorganise files according to conventions

This commit is contained in:
nobohan
2022-05-05 08:03:20 +02:00
parent ab90f72c7e
commit b09d92eae8
23 changed files with 225 additions and 202 deletions

View File

@@ -357,15 +357,15 @@ class ChillMainExtension extends Extension implements
'actions' => [
'index' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Location/index.html.twig',
'template' => '@ChillMain/Location/index.html.twig',
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Location/new.html.twig',
'template' => '@ChillMain/Location/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Location/edit.html.twig',
'template' => '@ChillMain/Location/edit.html.twig',
],
],
],
@@ -379,15 +379,15 @@ class ChillMainExtension extends Extension implements
'actions' => [
'index' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/LocationType/index.html.twig',
'template' => '@ChillMain/LocationType/index.html.twig',
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/LocationType/new.html.twig',
'template' => '@ChillMain/LocationType/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/LocationType/edit.html.twig',
'template' => '@ChillMain/LocationType/edit.html.twig',
],
],
],
@@ -401,15 +401,15 @@ class ChillMainExtension extends Extension implements
'actions' => [
'index' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Country/index.html.twig',
'template' => '@ChillMain/Country/index.html.twig',
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Country/new.html.twig',
'template' => '@ChillMain/Country/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Country/edit.html.twig',
'template' => '@ChillMain/Country/edit.html.twig',
],
],
],
@@ -423,15 +423,15 @@ class ChillMainExtension extends Extension implements
'actions' => [
'index' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Civility/index.html.twig',
'template' => '@ChillMain/Civility/index.html.twig',
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Civility/new.html.twig',
'template' => '@ChillMain/Civility/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Civility/edit.html.twig',
'template' => '@ChillMain/Civility/edit.html.twig',
],
],
],
@@ -445,15 +445,15 @@ class ChillMainExtension extends Extension implements
'actions' => [
'index' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Language/index.html.twig',
'template' => '@ChillMain/Language/index.html.twig',
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Language/new.html.twig',
'template' => '@ChillMain/Language/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Language/edit.html.twig',
'template' => '@ChillMain/Language/edit.html.twig',
],
],
],