|
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
{% url 'customer_clients_list' as customer_clients_list %} |
|
|
|
|
|
|
|
|
|
{% if user.is_anonymous %} |
|
|
|
|
{% for child in children|slice:":4" %} |
|
|
|
|
{% for child in children|slice:":3" %} |
|
|
|
|
<li class="child{% if child.selected %} selected{% endif %}{% if child.ancestor %} ancestor{% endif %}{% if child.sibling %} sibling{% endif %}{% if child.descendant %} descendant{% endif %}"> |
|
|
|
|
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a> |
|
|
|
|
{% if child.children %} |
|
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
|
<a href="#" id="other_docs_a">Другие документы</a> |
|
|
|
|
{% if user.is_anonymous %} |
|
|
|
|
<ul class="other_docs_menu hidden"> |
|
|
|
|
{% for child in children|slice:"4:" %} |
|
|
|
|
{% for child in children|slice:"3:" %} |
|
|
|
|
<li class="child{% if child.selected %} selected{% endif %}{% if child.ancestor %} ancestor{% endif %}{% if child.sibling %} sibling{% endif %}{% if child.descendant %} descendant{% endif %}"> |
|
|
|
|
<a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a> |
|
|
|
|
</li> |
|
|
|
|
|