for loop limited, pages set again

This commit is contained in:
Metehan Celik 2022-01-10 16:06:11 +03:00
parent 565e038495
commit 02ba890d3c

View File

@ -14,7 +14,7 @@
<div class="d-flex flex-column product-hb gallery-card pb-3 px-1 pt-1 border shadow-sm rounded">
<div class="product-image-hb p-sm-3 p-1">
<a href="{{ adv.detail_url }}" class="imgs" id="{{ adv.id }}">
{% for key,photo in adv.getViewPhotoUrl %}
{% for key,photo in adv.getViewPhotoUrl|slice(0, 3) %}
<img src="{{ photo }}" class="product-image-in ads-img img-{{ adv.id ~ '-' ~ key }}" alt="">
{% endfor %}