Add Chill context for event admins pages

This commit is contained in:
2019-09-26 20:24:40 +02:00
parent 3274ddb496
commit 7ac7def366
20 changed files with 195 additions and 42 deletions

View File

@@ -2,7 +2,24 @@ chill_event_event:
resource: "@ChillEventBundle/Resources/config/routing/event.yml"
prefix: /{_locale}/event/event
chill_event_fr_admin_event_status:
chill_event_participation:
resource: "@ChillEventBundle/Resources/config/routing/participation.yml"
prefix: /{_locale}/event/participation
## ADMIN
chill_event_admin:
path: /{_locale}/admin/event
defaults: { _controller: "ChillEventBundle:Admin:index" }
options:
menus:
admin_section:
order: 1000
label: "Events configuration"
icons: ['calendar']
chill_event_admin_status:
resource: "@ChillEventBundle/Resources/config/routing/status.yml"
prefix: /{_locale}/admin/event/status
@@ -14,6 +31,3 @@ chill_event_admin_event_type:
resource: "@ChillEventBundle/Resources/config/routing/eventtype.yml"
prefix: /{_locale}/admin/event/event_type
chill_event_participation:
resource: "@ChillEventBundle/Resources/config/routing/participation.yml"
prefix: /{_locale}/event/participation

View File

@@ -1,6 +1,11 @@
chill_eventtype_admin:
path: /
defaults: { _controller: "ChillEventBundle:EventType:index" }
options:
menus:
admin_events:
order: 90
label: "Event types"
chill_eventtype_admin_show:
path: /{id}/show

View File

@@ -1,6 +1,11 @@
chill_event_admin_role:
path: /
defaults: { _controller: "ChillEventBundle:Role:index" }
options:
menus:
admin_events:
order: 110
label: "Event roles"
chill_event_admin_role_show:
path: /{id}/show

View File

@@ -1,6 +1,11 @@
chill_event_admin_status:
path: /
defaults: { _controller: "ChillEventBundle:Status:index" }
options:
menus:
admin_events:
order: 100
label: "Event status"
chill_event_admin_status_show:
path: /{id}/show