Commit a18ce59b by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

add level check

See merge request manzarH/dic-global-dev!375
parents 23e4b931 55c3be3a
......@@ -47,12 +47,13 @@
]
%}
<li{{ item.attributes.addClass(classes) }}>
{% if item.below %}
{% if menu_level == 0 %}
<a href="javascript:void(0);">{{ item.title }}
<span>
<i class="fa fa-plus" aria-hidden="true"></i>
<i class="fa fa-minus" aria-hidden="true"></i>
</span>
</a>
{{ menus.menu_links(item.below, attributes, menu_level + 1) }}
{% else %}
{{ link(item.title, item.url) }}
......
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