Source

cmsplugin-googlesearch / examples / cms-2.0.2 / cmsplugin_googlesearch_example / templates / cms / menu.html

tehfink 7c1accd 
















{% load cms_tags cache %}
{% for child in children %}
<li>
	{% if not child.is_leaf_node %}+{% endif %}{{ child.menu_level }}
	<a href="{{ child.get_absolute_url }}">{{ child.get_menu_title }}</a> <span style="color:#999">
	{% if child.selected %}selected{% endif %}
	{% if child.ancestor %}ancestor{% endif %}
	{% if child.sibling %}sibling{% endif %}
	{% if child.descendant %}descendant{% endif %}
	{% if child.soft_root %}(softroot){% endif %}
	(Level: {{ child.level }})</span>
    {% if child.childrens %}
    <ul>
        {% show_menu from_level to_level extra_inactive extra_active template child %}
    </ul>
    {% endif %}
</li>
{% endfor %}