mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
upgrade views, menus, routing
This commit is contained in:
@@ -1,31 +1,32 @@
|
||||
|
||||
|
||||
chill_person_view:
|
||||
pattern: /view/{id}
|
||||
pattern: /person/view/{person_id}/general
|
||||
defaults: { _controller: ChillPersonBundle:Person:view }
|
||||
options:
|
||||
menu: person
|
||||
order: 50
|
||||
label: menu.person.general_view
|
||||
menus:
|
||||
person:
|
||||
order: 50
|
||||
label: Person View
|
||||
|
||||
chill_person_general_edit:
|
||||
pattern: /view/{id}/edit
|
||||
pattern: /person/view/{person_id}/edit
|
||||
defaults: {_controller: ChillPersonBundle:Person:edit }
|
||||
|
||||
chill_person_general_update:
|
||||
pattern: /view/{id}/update
|
||||
pattern: /person/view/{person_id}/update
|
||||
defaults: {_controller: ChillPersonBundle:Person:update }
|
||||
|
||||
chill_person_new:
|
||||
pattern: /new
|
||||
pattern: /person/new
|
||||
defaults: {_controller: ChillPersonBundle:Person:new }
|
||||
|
||||
chill_person_review:
|
||||
pattern: /review
|
||||
pattern: /person/review
|
||||
defaults: {_controller: ChillPersonBundle:Person:review }
|
||||
|
||||
chill_person_create:
|
||||
pattern: /create
|
||||
pattern: /person/create
|
||||
defaults: {_controller: ChillPersonBundle:Person:create }
|
||||
|
||||
|
||||
@@ -34,102 +35,37 @@ chill_person_search:
|
||||
defaults: { _controller: ChillPersonBundle:Person:search }
|
||||
|
||||
chill_person_history_list:
|
||||
pattern: /{id}/history
|
||||
pattern: /person/{person_id}/history
|
||||
defaults: { _controller: ChillPersonBundle:History:list }
|
||||
options:
|
||||
menu: person
|
||||
order: 100
|
||||
label: menu.person.history
|
||||
menus:
|
||||
person:
|
||||
order: 100
|
||||
label: menu.person.history
|
||||
|
||||
chill_person_history_create:
|
||||
pattern: /{personId}/history/create
|
||||
pattern: /person/{person_id}/history/create
|
||||
defaults: { _controller: ChillPersonBundle:History:create }
|
||||
|
||||
|
||||
chill_person_history_update:
|
||||
pattern: /{id}/history/{historyId}/update
|
||||
pattern: /person/{person_id}/history/{historyId}/update
|
||||
defaults: { _controller: ChillPersonBundle:History:update }
|
||||
|
||||
chill_person_history_close:
|
||||
pattern: /{id}/history/close
|
||||
pattern: /person/{person_id}/history/close
|
||||
defaults: { _controller: ChillPersonBundle:History:close }
|
||||
|
||||
chill_person_history_open:
|
||||
pattern: /{id}/history/open
|
||||
pattern: /person/{person_id}/history/open
|
||||
defaults: { _controller: ChillPersonBundle:History:open }
|
||||
|
||||
chill_person_admin:
|
||||
pattern: /admin
|
||||
defaults: { _controller: ChillPersonBundle:Admin:index }
|
||||
options:
|
||||
menu: admin
|
||||
order: 100
|
||||
label: menu.person.admin.index
|
||||
helper: menu.person.admin.helper
|
||||
|
||||
#sample admin_person menu:
|
||||
chill_person_admin_test_one:
|
||||
pattern: /admin/test_one
|
||||
defaults: { _controller: ChillPersonBundle:Admin:test }
|
||||
options:
|
||||
menu: admin_person
|
||||
order: 100
|
||||
label: menu.person.admin.test_one
|
||||
helper: menu.person.admin.helper_one
|
||||
|
||||
#sample
|
||||
chill_appointment_list:
|
||||
pattern: /view/{id}/appointment/list
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 200
|
||||
label: "Rendez-vous"
|
||||
|
||||
chill_prof_status_view:
|
||||
pattern: /view/{id}/prof/list
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 300
|
||||
label: "Statut Professionnel"
|
||||
|
||||
chill_admin_view:
|
||||
pattern: /view/{id}/administrative
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 400
|
||||
label: "Statut administratif"
|
||||
|
||||
chill_language:
|
||||
pattern: /view/{id}/language/list
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 500
|
||||
label: "Langues"
|
||||
|
||||
chill_studies:
|
||||
pattern: /view/{id}/studies
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 600
|
||||
label: "Études"
|
||||
|
||||
chill_notes:
|
||||
pattern: /view/{id}/notes
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 700
|
||||
label: "Informations"
|
||||
|
||||
chill_docs:
|
||||
pattern: /view/{id}/docs
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 800
|
||||
label: "Documents"
|
||||
options:
|
||||
menus:
|
||||
admin:
|
||||
order: 100
|
||||
label: menu.person.admin.index
|
||||
helper: menu.person.admin.helper
|
Reference in New Issue
Block a user