General menu optimation

This commit is contained in:
Kevin Frantz
2018-09-17 17:43:26 +02:00
parent edfaa58e2e
commit 4fc812ac64
4 changed files with 31 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
{% extends "base.html.twig" %}
{% block body %}
{% include 'frames/structure/navbar.html.twig'%}
{% include 'frames/structure/navbar/navbar_top.html.twig'%}
<br />
<div class="container">
{% include 'frames/structure/message/flash_messages.html.twig'%}

View File

@@ -7,6 +7,6 @@
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
{{ knp_menu_render('userTopbar', {'currentClass': 'active', 'template': 'frames/structure/knp_menu.html.twig'}) }}
{{ knp_menu_render('userTopbar', {'currentClass': 'active', 'template': 'frames/structure/navbar/knp_menu.html.twig'}) }}
</div>
</nav>