модерн
This commit is contained in:
@@ -194,7 +194,7 @@
|
||||
<div class="card-body">
|
||||
<div class="row g-3 catalog-list" id="catalog-grid">
|
||||
{% for item in items %}
|
||||
<div class="col-12 catalog-item" data-type="{{ item.item_type }}">
|
||||
<div class="col-12 catalog-item" data-type="{{ item.item_type }}" data-category-ids="{% for cat in item.categories.all %}{{ cat.pk }}{% if not forloop.last %},{% endif %}{% endfor %}">
|
||||
<div class="card h-100 shadow-sm border-0">
|
||||
<div class="position-relative">
|
||||
{% if item.main_photo %}
|
||||
@@ -217,7 +217,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="d-flex justify-content-between align-items-center mt-1">
|
||||
<span class="fw-bold text-primary small">{{ item.actual_price|floatformat:0 }} ₽</span>
|
||||
<span class="fw-bold text-primary small">{{ item.actual_price|floatformat:0 }} руб.</span>
|
||||
<small class="text-muted">{{ item.sku }}</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user