use '@foo/bar.html.twig' syntax in twig templates

This commit is contained in:
Tchama 2020-09-06 20:32:46 +02:00
parent 2aa59d1cf3
commit 61be9ca943
12 changed files with 12 additions and 12 deletions

View File

@ -20,7 +20,7 @@
{% block vertical_menu_content %}
{{ chill_menu('admin_events', {
'layout': 'ChillEventBundle::Admin/menu.html.twig',
'layout': '@ChillEvent/Admin/menu.html.twig',
}) }}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% set activeRouteKey = 'chill_event__event_show' %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% block title 'Event edit'|trans %}

View File

@ -14,7 +14,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends "ChillPersonBundle::layout.html.twig" %}
{% extends "@ChillPerson/layout.html.twig" %}
{% set activeRouteKey = 'chill_event__list_by_person' %}
{% set currentPerson = person.firstName ~ ' ' ~ person.lastName %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% block title 'Event creation'|trans %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% block title 'Event creation'|trans %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% block title 'Event : %label%'|trans({ '%label%' : event.name } ) %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% set activeRouteKey = 'chill_event__event_show' %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}

View File

@ -1,4 +1,4 @@
{% extends 'ChillEventBundle::layout.html.twig' %}
{% extends '@ChillEvent/layout.html.twig' %}
{% import 'ChillPersonBundle:Person:macro.html.twig' as person_macro %}