mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
better twig extends path syntax
This commit is contained in:
parent
17ff80c39c
commit
c1ede921ff
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
|
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
|
||||||
|
|
||||||
{% set title = 'DRAFT' == accompanyingCourse.step ? 'New accompanying course' : 'Edit accompanying course' %}
|
{% set title = 'DRAFT' == accompanyingCourse.step ? 'New accompanying course' : 'Edit accompanying course' %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
|
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{{ 'Accompanying Course Details'|trans }}
|
{{ 'Accompanying Course Details'|trans }}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
|
{% extends '@ChillPerson/AccompanyingCourse/layout.html.twig' %}
|
||||||
|
|
||||||
{% import '@ChillMain/Address/macro.html.twig' as address %}
|
{% import '@ChillMain/Address/macro.html.twig' as address %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block top_banner %}
|
{% block top_banner %}
|
||||||
{{ include('ChillPersonBundle:AccompanyingCourse:banner.html.twig', { title: block('title') }) }}
|
{{ include('@ChillPerson/AccompanyingCourse/banner.html.twig', { title: block('title') }) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block layout_wvm_content %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
||||||
|
|
||||||
{% block top_banner %}
|
{% block top_banner %}
|
||||||
{{ include('@ChillPerson/Household/banner.html.twig', { title: block('title') }) }}
|
{{ include('@ChillPerson/Household/banner.html.twig', { title: block('title') }) }}
|
||||||
@ -14,4 +14,3 @@
|
|||||||
'args' : { 'household': household }
|
'args' : { 'household': household }
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user