Commit 600ba2be by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

add condition

See merge request manzarH/dic-global-dev!365
parents 8511b58e cdf244bc
......@@ -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