mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
automatic regexp to move namespace CL\Chill => Chill
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
CL\Chill\PersonBundle\Entity\Person:
|
||||
Chill\PersonBundle\Entity\Person:
|
||||
type: entity
|
||||
table: null
|
||||
repositoryClass: CL\Chill\PersonBundle\Entity\PersonRepository
|
||||
repositoryClass: Chill\PersonBundle\Entity\PersonRepository
|
||||
fields:
|
||||
id:
|
||||
type: integer
|
||||
|
@@ -1,4 +1,4 @@
|
||||
CL\Chill\PersonBundle\Entity\PersonHistoryFile:
|
||||
Chill\PersonBundle\Entity\PersonHistoryFile:
|
||||
type: entity
|
||||
table: person_history_file
|
||||
id:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
chill_person_view:
|
||||
pattern: /view/{id}
|
||||
defaults: { _controller: CLChillPersonBundle:Person:view }
|
||||
defaults: { _controller: ChillPersonBundle:Person:view }
|
||||
options:
|
||||
menu: person
|
||||
order: 50
|
||||
@@ -10,32 +10,32 @@ chill_person_view:
|
||||
|
||||
chill_person_general_edit:
|
||||
pattern: /view/{id}/edit
|
||||
defaults: {_controller: CLChillPersonBundle:Person:edit }
|
||||
defaults: {_controller: ChillPersonBundle:Person:edit }
|
||||
|
||||
chill_person_general_update:
|
||||
pattern: /view/{id}/update
|
||||
defaults: {_controller: CLChillPersonBundle:Person:update }
|
||||
defaults: {_controller: ChillPersonBundle:Person:update }
|
||||
|
||||
chill_person_new:
|
||||
pattern: /new
|
||||
defaults: {_controller: CLChillPersonBundle:Person:new }
|
||||
defaults: {_controller: ChillPersonBundle:Person:new }
|
||||
|
||||
chill_person_review:
|
||||
pattern: /review
|
||||
defaults: {_controller: CLChillPersonBundle:Person:review }
|
||||
defaults: {_controller: ChillPersonBundle:Person:review }
|
||||
|
||||
chill_person_create:
|
||||
pattern: /create
|
||||
defaults: {_controller: CLChillPersonBundle:Person:create }
|
||||
defaults: {_controller: ChillPersonBundle:Person:create }
|
||||
|
||||
|
||||
chill_person_search:
|
||||
pattern: /search
|
||||
defaults: { _controller: CLChillPersonBundle:Person:search }
|
||||
defaults: { _controller: ChillPersonBundle:Person:search }
|
||||
|
||||
chill_person_history_list:
|
||||
pattern: /{id}/history
|
||||
defaults: { _controller: CLChillPersonBundle:History:list }
|
||||
defaults: { _controller: ChillPersonBundle:History:list }
|
||||
options:
|
||||
menu: person
|
||||
order: 100
|
||||
@@ -43,24 +43,24 @@ chill_person_history_list:
|
||||
|
||||
chill_person_history_create:
|
||||
pattern: /{personId}/history/create
|
||||
defaults: { _controller: CLChillPersonBundle:History:create }
|
||||
defaults: { _controller: ChillPersonBundle:History:create }
|
||||
|
||||
|
||||
chill_person_history_update:
|
||||
pattern: /{id}/history/{historyId}/update
|
||||
defaults: { _controller: CLChillPersonBundle:History:update }
|
||||
defaults: { _controller: ChillPersonBundle:History:update }
|
||||
|
||||
chill_person_history_close:
|
||||
pattern: /{id}/history/close
|
||||
defaults: { _controller: CLChillPersonBundle:History:close }
|
||||
defaults: { _controller: ChillPersonBundle:History:close }
|
||||
|
||||
chill_person_history_open:
|
||||
pattern: /{id}/history/open
|
||||
defaults: { _controller: CLChillPersonBundle:History:open }
|
||||
defaults: { _controller: ChillPersonBundle:History:open }
|
||||
|
||||
chill_person_admin:
|
||||
pattern: /admin
|
||||
defaults: { _controller: CLChillPersonBundle:Admin:index }
|
||||
defaults: { _controller: ChillPersonBundle:Admin:index }
|
||||
options:
|
||||
menu: admin
|
||||
order: 100
|
||||
@@ -70,7 +70,7 @@ chill_person_admin:
|
||||
#sample admin_person menu:
|
||||
chill_person_admin_test_one:
|
||||
pattern: /admin/test_one
|
||||
defaults: { _controller: CLChillPersonBundle:Admin:test }
|
||||
defaults: { _controller: ChillPersonBundle:Admin:test }
|
||||
options:
|
||||
menu: admin_person
|
||||
order: 100
|
||||
@@ -80,7 +80,7 @@ chill_person_admin_test_one:
|
||||
#sample
|
||||
chill_appointment_list:
|
||||
pattern: /view/{id}/appointment/list
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 200
|
||||
@@ -88,7 +88,7 @@ chill_appointment_list:
|
||||
|
||||
chill_prof_status_view:
|
||||
pattern: /view/{id}/prof/list
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 300
|
||||
@@ -96,7 +96,7 @@ chill_prof_status_view:
|
||||
|
||||
chill_admin_view:
|
||||
pattern: /view/{id}/administrative
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 400
|
||||
@@ -104,7 +104,7 @@ chill_admin_view:
|
||||
|
||||
chill_language:
|
||||
pattern: /view/{id}/language/list
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 500
|
||||
@@ -112,7 +112,7 @@ chill_language:
|
||||
|
||||
chill_studies:
|
||||
pattern: /view/{id}/studies
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 600
|
||||
@@ -120,7 +120,7 @@ chill_studies:
|
||||
|
||||
chill_notes:
|
||||
pattern: /view/{id}/notes
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 700
|
||||
@@ -128,7 +128,7 @@ chill_notes:
|
||||
|
||||
chill_docs:
|
||||
pattern: /view/{id}/docs
|
||||
defaults: {_controller: CLChillPersonBundle:Person:view}
|
||||
defaults: {_controller: ChillPersonBundle:Person:view}
|
||||
options:
|
||||
menu: person
|
||||
order: 800
|
||||
|
@@ -1,5 +1,5 @@
|
||||
parameters:
|
||||
# cl_chill_person.example.class: CL\Chill\PersonBundle\Example
|
||||
# cl_chill_person.example.class: Chill\PersonBundle\Example
|
||||
|
||||
services:
|
||||
# cl_chill_person.example:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
CL\Chill\PersonBundle\Entity\Person:
|
||||
Chill\PersonBundle\Entity\Person:
|
||||
properties:
|
||||
belgian_national_number:
|
||||
- NotBlank:
|
||||
@@ -46,7 +46,7 @@ CL\Chill\PersonBundle\Entity\Person:
|
||||
|
||||
|
||||
|
||||
CL\Chill\PersonBundle\Entity\PersonHistoryFile:
|
||||
Chill\PersonBundle\Entity\PersonHistoryFile:
|
||||
properties:
|
||||
date_opening:
|
||||
- Date:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
{% extends "ChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = null %}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
{% extends "ChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = 'chill_person_history_list' %}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
{% extends "ChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = null %}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
{% extends "ChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = null %}
|
||||
|
||||
|
@@ -1,15 +1,15 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
{% extends "ChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = '' %}
|
||||
|
||||
{% block title %}CLChillPersonBundle:Person:see{% endblock %}
|
||||
{% block title %}ChillPersonBundle:Person:see{% endblock %}
|
||||
|
||||
{% block personcontent %}
|
||||
|
||||
{% form_theme form 'CLChillMainBundle:Form:fields.html.twig' %}
|
||||
|
||||
{{ form_start(form) }}
|
||||
{% set include_temp = 'CLChillPersonBundle:Form:form_control.html.twig' %}
|
||||
{% set include_temp = 'ChillPersonBundle:Form:form_control.html.twig' %}
|
||||
{% set include_args = {'return_key': 'chill_person_view',
|
||||
'return_args' : { 'id' : person.id} } %}
|
||||
{{ include(include_temp, include_args) }}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
||||
{% extends "ChillPersonBundle::layout.html.twig" %}
|
||||
|
||||
{% set activeRouteKey = 'chill_person_view' %}
|
||||
|
||||
@@ -10,9 +10,9 @@ This view should receive those arguments:
|
||||
|
||||
#}
|
||||
|
||||
{% block title %}CLChillPersonBundle:Person:see{% endblock %}
|
||||
{% block title %}ChillPersonBundle:Person:see{% endblock %}
|
||||
|
||||
{% set edit_tmp_name = 'CLChillPersonBundle:Form:go_to_form.html.twig' %}
|
||||
{% set edit_tmp_name = 'ChillPersonBundle:Form:go_to_form.html.twig' %}
|
||||
{% set edit_tmp_args = { 'form_path_args' : { 'id': person.id },
|
||||
'form_path_key' : 'chill_person_general_edit' } %}
|
||||
|
||||
|
@@ -47,7 +47,7 @@
|
||||
{# Note: activeRouteKey should be defined in Controller or child layout #}
|
||||
{{ render(controller("CLChillMainBundle:Menu:writeMenu", {
|
||||
'menu' : 'person',
|
||||
'layout': 'CLChillPersonBundle::menu.html.twig',
|
||||
'layout': 'ChillPersonBundle::menu.html.twig',
|
||||
'args' : {'id': person.id },
|
||||
'activeRouteKey': activeRouteKey
|
||||
})) }}
|
||||
|
Reference in New Issue
Block a user