mirror of https://github.com/interlegis/sigi.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
504 B
21 lines
504 B
11 years ago
|
{% load tree_menu_tags %}
|
||
|
|
||
|
{% ifequal menu_type "unordered-list" %}
|
||
|
{% if menu_item.has_children %}
|
||
|
<li>
|
||
|
{% if menu_item.url %}
|
||
|
<a href="{{ menu_item.url }}">{{ menu_item.caption }}</a>
|
||
|
{% else %}
|
||
|
{{ menu_item.caption }}
|
||
|
{% endif %}
|
||
|
<ul>
|
||
|
{% for child in menu_item.children %}
|
||
|
{% show_menu_item child %}
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</li>
|
||
|
{% else %}
|
||
|
<li><a href="{{ menu_item.url }}">{{ menu_item.caption }}</a></li>
|
||
|
{% endif %}
|
||
|
{% endifequal %}
|