symposion_app/pinaxcon/templates/sitetree_opener.html

15 lines
799 B
HTML
Raw Normal View History

{% load sitetree %}
<div data-menu="" class="l-header--menu">
<ul class="link-list">
{% for item in sitetree_items %}
<!-- FIXME: NEeds a dropdown mechanism -->
<li class="link-list--item"><a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %}class="l-header--nav dropdown-toggle {% if item.is_current or item.in_current_branch %}active{% endif %}" data-toggle="dropdown" {% else %}class="l-header--nav {% if item.is_current or item.in_current_branch %}active{% endif %}"{% endif %}>{{ item.title_resolved }}</a></li>
<!-- {% if item.has_children %}
{% sitetree_children of item for menu template "sitetree_opener_dropdown.html" %}
{% endif %} -->
{% endfor %}
</ul>
</div>
</nav>