mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
Debug admin menu
This commit is contained in:
parent
0c4e02afac
commit
45d036933e
@ -6,18 +6,9 @@
|
|||||||
|
|
||||||
<h1>{{ page_title|trans }}</h1>
|
<h1>{{ page_title|trans }}</h1>
|
||||||
|
|
||||||
<ul class="two tiles admin_tiles">
|
{{ chill_menu('admin', {
|
||||||
{% for menu in menu_composer.getRoutesFor(menu) %}
|
'layout': 'ChillMainBundle::Menu/admin.html.twig',
|
||||||
<li class="">
|
}) }}
|
||||||
<h3><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></h3>
|
|
||||||
|
|
||||||
<p>{{ menu.helper|trans|default('') }}</p>
|
|
||||||
|
|
||||||
<p><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></p>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
5
Resources/views/Menu/admin.html.twig
Normal file
5
Resources/views/Menu/admin.html.twig
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<ul>
|
||||||
|
{% for route in routes %}
|
||||||
|
<li><a href="{{ path(route.key, args ) }}">{{ route.label|trans }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
Loading…
x
Reference in New Issue
Block a user