{% load i18n %} {% load lfs_tags %} {% if show %}
{{ title }} [x]
{% if show_product_filters %} {% for property_group in product_filters %} {% if property_group.items %}
{{ property_group.title }} {% if property_group.show_reset %} [x] {% endif %}
{% for property in property_group.items %}
{% if property_group.object.is_number_field %} {% if property_group.show_quantity %} {{ property.min|quantity }} - {{ property.max|quantity }} {{ property_group.unit|safe }} ({{ property.quantity }}) {% else %} {{ property.min|quantity }} - {{ property.max|quantity }} {{ property_group.unit|safe }} {% endif %} {% else %} {% if property.show_quantity %} {{ property.name }} {{ property_group.unit|safe }} ({{ property.quantity }}) {% else %} {{ property.name }} {{ property_group.unit|safe }} {% endif %} {% endif %}
{% endfor %}
{% endif %} {% endfor %} {% endif %} {% if show_price_filters %}
{% trans 'Price' %} {% if price_filters.show_reset %} [x] {% endif %}
{% for price_filter in price_filters.items %}
{% if price_filters.show_quantity %} {% trans 'Up to' %} {{ price_filter.max|decimal_l10n }} ({{ price_filter.quantity }}) {% else %} {% trans 'Up to' %} {{ price_filter.max|currency:request }} {% endif %}
{% endfor %}
{#
#} {#
#} {# #} {# #} {#
#} {#
#} {# #} {# #} {#
#} {#
#} {# #} {#
#} {#
#} {% endif %} {% if show_manufacturer_filters %}
{% trans 'Manufacturer' %}
{% for mfilter in manufacturer_filters.items %} {% endfor %}
{% endif %}
{% endif %}