Commit df5ee1f9 by Manzar Hussain

level 1

parent 24ff9945
......@@ -47,18 +47,17 @@
]
%}
<li{{ item.attributes.addClass(classes) }}>
{{ link(item.title, item.url) }}
{% if item.below %}
<a href="javascript:void(0);">{{ link(item.title) }}
{# {{ item.title }} #}
{% if menu_level == 1 %}
<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) }}
</a>
{% else %}
{{ link(item.title, item.url) }}
{% endif %}
{% endif %}
</li>
{% endfor %}
......
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