|
|
|
|
@ -37,31 +37,36 @@ |
|
|
|
|
<li class="child{% if request.path == url_faktura_list %} selected{% endif %}"> |
|
|
|
|
<a href="{{ url_faktura_list }}">СЧЕТА-ФАКТУРЫ</a> |
|
|
|
|
</li> |
|
|
|
|
{% endif %} |
|
|
|
|
<li id="other_docs"> |
|
|
|
|
<a href="#" id="other_docs_a">Другие документы</a> |
|
|
|
|
{% if not user.is_authenticated %} |
|
|
|
|
<ul class="other_docs_menu hidden"> |
|
|
|
|
{% for child in children|slice:"4:" %} |
|
|
|
|
<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> |
|
|
|
|
{% endfor %} |
|
|
|
|
</ul> |
|
|
|
|
{% else %} |
|
|
|
|
<ul class="other_docs_menu hidden"> |
|
|
|
|
<li class="child{% if request.path == url_aktsverki_list %} selected{% endif %}"> |
|
|
|
|
<a href="{{ url_aktsverki_list }}">Акты сверки</a> |
|
|
|
|
</li> |
|
|
|
|
<li class="child{% if request.path == url_dover_list %} selected{% endif %}"> |
|
|
|
|
<a href="{{ url_dover_list }}">Доверенности</a> |
|
|
|
|
</li> |
|
|
|
|
<li class="child{% if request.path == url_platejka_list %} selected{% endif %}"> |
|
|
|
|
<a href="{{ url_platejka_list }}">Платёжные поручения</a> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
{% endif %} |
|
|
|
|
<li class="child{% if request.path == url_dover_list %} selected{% endif %}"> |
|
|
|
|
<a href="{{ url_dover_list }}">ДОВЕРЕННОСТЬ</a> |
|
|
|
|
</li> |
|
|
|
|
{% endif %} |
|
|
|
|
{#{% comment %}#} |
|
|
|
|
{#<li id="other_docs">#} |
|
|
|
|
{# <a href="#" id="other_docs_a">Другие документы</a>#} |
|
|
|
|
{#{% if not user.is_authenticated %}#} |
|
|
|
|
{# <ul class="other_docs_menu hidden">#} |
|
|
|
|
{# {% for child in children|slice:"4:" %}#} |
|
|
|
|
{# <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>#} |
|
|
|
|
{# {% endfor %}#} |
|
|
|
|
{# </ul>#} |
|
|
|
|
{#{% else %}#} |
|
|
|
|
{# <ul class="other_docs_menu hidden">#} |
|
|
|
|
{# <li class="child{% if request.path == url_aktsverki_list %} selected{% endif %}">#} |
|
|
|
|
{# <a href="{{ url_aktsverki_list }}">Акты сверки</a>#} |
|
|
|
|
{# </li>#} |
|
|
|
|
{# <li class="child{% if request.path == url_dover_list %} selected{% endif %}">#} |
|
|
|
|
{# <a href="{{ url_dover_list }}">Доверенности</a>#} |
|
|
|
|
{# </li>#} |
|
|
|
|
{# <li class="child{% if request.path == url_platejka_list %} selected{% endif %}">#} |
|
|
|
|
{# <a href="{{ url_platejka_list }}">Платёжные поручения</a>#} |
|
|
|
|
{# </li>#} |
|
|
|
|
{# </ul>#} |
|
|
|
|
{#{% endif %}#} |
|
|
|
|
{#</li>#} |
|
|
|
|
{#{% encomment %}#} |
|
|
|
|
<li class="yellow child{% if request.path == customer_profile_view %} selected{% endif %}"> |
|
|
|
|
<a href="{{ customer_profile_view }}"style="padding-left: 40px;">МОИ РЕКВИЗИТЫ</a> |
|
|
|
|
</li> |
|
|
|
|
|