mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Debug admin menu
This commit is contained in:
parent
0c4e02afac
commit
45d036933e
@ -6,18 +6,9 @@
|
||||
|
||||
<h1>{{ page_title|trans }}</h1>
|
||||
|
||||
<ul class="two tiles admin_tiles">
|
||||
{% for menu in menu_composer.getRoutesFor(menu) %}
|
||||
<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>
|
||||
{{ chill_menu('admin', {
|
||||
'layout': 'ChillMainBundle::Menu/admin.html.twig',
|
||||
}) }}
|
||||
|
||||
|
||||
{% 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