diff --git a/myproject/products/templates/products/all_products_list.html b/myproject/products/templates/products/all_products_list.html index 3c46859..64c9ead 100644 --- a/myproject/products/templates/products/all_products_list.html +++ b/myproject/products/templates/products/all_products_list.html @@ -116,7 +116,7 @@ {% if item.photos.all %} {% with photo=item.photos.first %} - {{ item.name }} + {{ item.name }} {% endwith %} {% else %} Нет фото diff --git a/myproject/products/templates/products/category_detail.html b/myproject/products/templates/products/category_detail.html index 53ee3ba..9752b74 100644 --- a/myproject/products/templates/products/category_detail.html +++ b/myproject/products/templates/products/category_detail.html @@ -45,7 +45,7 @@ {% for photo in category_photos %}
- Фото категории + Фото категории {% if photo.order == 0 %}
Главное diff --git a/myproject/products/templates/products/product_detail.html b/myproject/products/templates/products/product_detail.html index 4b2f236..323a8c0 100644 --- a/myproject/products/templates/products/product_detail.html +++ b/myproject/products/templates/products/product_detail.html @@ -35,7 +35,7 @@ data-bs-target="#photoGalleryModal" data-bs-slide-to="{{ forloop.counter0 }}" title="Нажмите для увеличения"> - Фото товара
@@ -66,7 +66,7 @@ {% for photo in product_photos %} {% endfor %} diff --git a/myproject/products/templates/products/product_list.html b/myproject/products/templates/products/product_list.html index 0d10085..7a2bfdf 100644 --- a/myproject/products/templates/products/product_list.html +++ b/myproject/products/templates/products/product_list.html @@ -29,7 +29,7 @@ {% if product.photos.all %} {% with photo=product.photos.first %} - {{ product.name }} + {{ product.name }} {% endwith %} {% else %} Нет фото diff --git a/myproject/products/templates/products/productkit_detail.html b/myproject/products/templates/products/productkit_detail.html index 4d8700d..089ea27 100644 --- a/myproject/products/templates/products/productkit_detail.html +++ b/myproject/products/templates/products/productkit_detail.html @@ -177,7 +177,7 @@ {% for photo in productkit_photos %}
- {{ kit.name }} @@ -196,7 +196,7 @@
diff --git a/myproject/products/templates/products/productkit_list.html b/myproject/products/templates/products/productkit_list.html index 520ad40..a8fac58 100644 --- a/myproject/products/templates/products/productkit_list.html +++ b/myproject/products/templates/products/productkit_list.html @@ -30,7 +30,7 @@ {% if kit.photos.all %} {% with photo=kit.photos.first %} - {{ kit.name }} + {{ kit.name }} {% endwith %} {% else %} Нет фото