Commit a6f51cfe by Manzar Hussain

side menu

parent 7c402c3c
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#} #}
<div class="ls_l_con_b"> <div class="ls_l_con_b">
<div class="la_sb_l"> <div class="la_sb_l">
<div class="ls_sbmenu sb_dd_m_data">
{% {%
set classes = [ set classes = [
......
...@@ -24,12 +24,14 @@ ...@@ -24,12 +24,14 @@
We call a macro which calls itself to render the full tree. We call a macro which calls itself to render the full tree.
@see https://twig.symfony.com/doc/1.x/tags/macro.html @see https://twig.symfony.com/doc/1.x/tags/macro.html
#} #}
<div class="ls_sbmenu sb_dd_m_data">
{{ menus.menu_links(items, attributes, 0) }} {{ menus.menu_links(items, attributes, 0) }}
{% macro menu_links(items, attributes, menu_level) %} {% macro menu_links(items, attributes, menu_level) %}
{% import _self as menus %} {% import _self as menus %}
{% if items %} {% if items %}
{% if menu_level == 0 %} {% if menu_level == 0 %}
<ul> <ul>
{% else %} {% else %}
...@@ -60,4 +62,5 @@ ...@@ -60,4 +62,5 @@
{% endif %} {% endif %}
{% endmacro %} {% endmacro %}
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment