diff --git a/oknardia/templates/catalog/catalog_company_detail.html b/oknardia/templates/catalog/catalog_company_detail.html index 6acb34f..2044442 100755 --- a/oknardia/templates/catalog/catalog_company_detail.html +++ b/oknardia/templates/catalog/catalog_company_detail.html @@ -138,7 +138,14 @@ {# ПРАВАЯ КОЛОНКА: НАЧАЛО #}
- +

Оконный набор: «{{ i.sSetName|safe }}»

+

+ Оконный набор: «{{ i.sSetName|safe }}» + + в каталоге наборов + +

+
{% for Star in i.fSetRating.STARS %}{% if Star == 0 %}{% else %}{% endif %}{% endfor %} {% if i.fSetRating.RATING > -0.01 %} {{ i.fSetRating.RATING|stringformat:".2f" }}{% endif %}
diff --git a/oknardia/web/catalog_companies.py b/oknardia/web/catalog_companies.py index 882ba12..b4f448a 100644 --- a/oknardia/web/catalog_companies.py +++ b/oknardia/web/catalog_companies.py @@ -359,6 +359,7 @@ def _format_set_for_template(set_data: dict, empty_values: list) -> dict: formatted = { # Ключи ниже оставлены в legacy-формате, т.к. шаблон использует именно их имена. + 'idSetKit': set_kit.id, 'sSetName': set_kit.sSetName, 'sMerchantName': merchant_brand.sMerchantName, 'sMerchantDescription': merchant_brand.sMerchantDescription,