|
|
|
|
@ -7,8 +7,10 @@ |
|
|
|
|
{% load mptt_tags %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block breadcrums %} |
|
|
|
|
{% block breadcrumbs %} |
|
|
|
|
{% breadcrumb_url 'Главная страница' 'index:index' %} |
|
|
|
|
{% breadcrumb_url 'Каталог' 'products:product_list' %} |
|
|
|
|
{% if the_product_category %} |
|
|
|
|
{% if the_product_category.get_ancestors.exists %} |
|
|
|
|
{% recursetree the_product_category.get_ancestors %} |
|
|
|
|
<li><a href="{{ node.get_absolute_url }}">{{ node.name }}</a></li> |
|
|
|
|
@ -18,7 +20,8 @@ |
|
|
|
|
{% endrecursetree %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% breadcrumb_url the_product_category.name 'products:product_list' the_product_category.get_path %} |
|
|
|
|
{% endblock breadcrums %} |
|
|
|
|
{% endif %} |
|
|
|
|
{% endblock breadcrumbs %} |
|
|
|
|
|
|
|
|
|
{% block extra_left_menu_items %} |
|
|
|
|
{% if left_product_filter_formset %} |
|
|
|
|
@ -118,6 +121,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ page_obj.previous_page_number }}{{ request.GET|filter_query_params:"page"|apply_query_params:True }}"> |
|
|
|
|
« |
|
|
|
|
</a> |
|
|
|
|
@ -130,6 +134,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ page_obj.number|add:"-1" }}{{ request.GET|filter_query_params:"page"|apply_query_params:True }}"> |
|
|
|
|
{{ page_obj.number|add:"-1" }} |
|
|
|
|
</a> |
|
|
|
|
@ -141,6 +146,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ page_obj.number|add:"+1" }}{{ request.GET|filter_query_params:"page"|apply_query_params:True }}"> |
|
|
|
|
{{ page_obj.number|add:"+1" }} |
|
|
|
|
</a> |
|
|
|
|
|