template extends person layout, fix syntax

This commit is contained in:
Mathieu Jaumotte 2021-08-03 00:46:56 +02:00
parent 7665181d44
commit 7ee91afae2
4 changed files with 4 additions and 4 deletions

View File

@ -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 %}

View File

@ -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.

View File

@ -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';
}

View File

@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends layout %}
{% extends '@ChillPerson/Person/layout.html.twig' %}
{% set activeRouteKey = 'chill_task_single_task_new' %}