mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
accompanyingCourse, household and person use uniq menu template
This commit is contained in:
parent
f4f747d8d1
commit
17ff80c39c
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
{% block vertical_menu_content %}
|
{% block vertical_menu_content %}
|
||||||
{{ chill_menu('accompanyingCourse', {
|
{{ chill_menu('accompanyingCourse', {
|
||||||
'layout': 'ChillPersonBundle:AccompanyingCourse:menu.html.twig',
|
'layout': '@ChillPerson/menu.html.twig',
|
||||||
'args' : { 'accompanyingCourse': accompanyingCourse }
|
'args' : { 'accompanyingCourse': accompanyingCourse }
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
<div class="list-group vertical-menu menu-accompanying-course">
|
|
||||||
{% for menu in menus %}
|
|
||||||
<a class="list-group-item list-group-item-action"
|
|
||||||
href="{{ menu.uri }}">
|
|
||||||
{{ menu.label|upper }}
|
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
{% block vertical_menu_content %}
|
{% block vertical_menu_content %}
|
||||||
{{ chill_menu('household', {
|
{{ chill_menu('household', {
|
||||||
'layout': '@ChillPerson/Household/menu.html.twig',
|
'layout': '@ChillPerson/menu.html.twig',
|
||||||
'args' : { 'household': household }
|
'args' : { 'household': household }
|
||||||
}) }}
|
}) }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
<div class="list-group vertical-menu menu-household">
|
|
||||||
{% for menu in menus %}
|
|
||||||
<a class="list-group-item list-group-item-action"
|
|
||||||
href="{{ menu.uri }}">
|
|
||||||
{{ menu.label|upper }}
|
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
@ -1,5 +1,5 @@
|
|||||||
{#
|
{#
|
||||||
* Copyright (C) 2014, Champs Libres Cooperative SCRLFS, <http://www.champs-libres.coop>
|
* Copyright (C) 2014-2021, Champs Libres Cooperative SCRLFS, <http://www.champs-libres.coop>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user