diff --git a/docs/source/development/pagination.rst b/docs/source/development/pagination.rst index c0cec9639..1a2c91ff0 100644 --- a/docs/source/development/pagination.rst +++ b/docs/source/development/pagination.rst @@ -28,7 +28,7 @@ Then, render the pagination using the dedicated twig function. .. code-block:: html+twig - {% extends "ChillPersonBundle::layout.html.twig" %} + {% extends "@ChillPerson/Person/layout.html.twig" %} {% block title 'Item list'|trans %} diff --git a/docs/source/development/user-interface/layout-template-usage.rst b/docs/source/development/user-interface/layout-template-usage.rst index 2b7a7764c..69848c650 100644 --- a/docs/source/development/user-interface/layout-template-usage.rst +++ b/docs/source/development/user-interface/layout-template-usage.rst @@ -149,7 +149,7 @@ It proposes a new block : * where to display the admin content -ChillPersonBundle::layout.html.twig +@ChillPersonBundle/Person/layout.html.twig ----------------------------------- This layout extend `ChillMainBundle::layoutWithVerticalMenu.html.twig` add the person details in the block `top_banner`, set the menu `person` as the vertical menu. diff --git a/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php b/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php index 1c526aa1e..bc76dacd4 100644 --- a/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php +++ b/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php @@ -547,7 +547,7 @@ class SingleTaskController extends AbstractController $viewParams['tasks_count'] = $tasks_count; if ($viewParams['person'] !== null){ - $viewParams['layout'] = 'ChillPersonBundle::layout.html.twig'; + $viewParams['layout'] = '@ChillPerson/Person/layout.html.twig'; } else { $viewParams['layout'] = '@ChillMain/layout.html.twig'; } diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig index 149a5401c..2a33fc10c 100644 --- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig +++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/index.html.twig @@ -15,7 +15,7 @@ * along with this program. If not, see . #} -{% extends layout %} +{% extends '@ChillPerson/Person/layout.html.twig' %} {% set activeRouteKey = 'chill_task_single_task_new' %}