Commit 930b973b by Manzar Hussain

display none

parent f8923c83
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
] ]
%} %}
<li{{ item.attributes.addClass(classes) }}> <li{{ item.attributes.addClass(classes) }}>
<div {% if item.below %} style="display: none;" {% endif %}> {{ link(item.title, item.url) }}</div>
{% if item.below %} {% if item.below %}
<a href="javascript:void(0);">{{ item.title }} <a href="javascript:void(0);">{{ item.title }}
...@@ -57,10 +57,8 @@ ...@@ -57,10 +57,8 @@
</span> </span>
</a> </a>
{{ menus.menu_links(item.below, attributes, menu_level + 1) }} {{ menus.menu_links(item.below, attributes, menu_level + 1) }}
{% else %}
{% if item.below is not empty %}
{{ link(item.title, item.url) }}
{% endif %}
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% 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