Commit cdf244bc by Manzar Hussain

add condition

parent 3065be01
......@@ -47,10 +47,6 @@
]
%}
<li {% if item.below %} class="dd_sub_menu" {% endif %}>
{% if ! item.below %}
{{ link(item.title, item.url) }}
{% endif %}
{% if item.below %}
<a href="{{ item.url }}">{{ item.title }}
<span>
......@@ -58,6 +54,8 @@
<i class="fa fa-minus" aria-hidden="true"></i>
</span>
{{ menus.menu_links(item.below, attributes, menu_level + 1) }}
{% else %}
{{ link(item.title, item.url) }}
{% 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