Commit ee526c76 by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

Feature theme

See merge request manzarH/dic-global-dev!362
parents 42f131af 0075e885
...@@ -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 %}
...@@ -61,3 +63,4 @@ ...@@ -61,3 +63,4 @@
{% endif %} {% endif %}
{% endmacro %} {% endmacro %}
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