mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
for loop limited, pages set again
This commit is contained in:
parent
565e038495
commit
02ba890d3c
@ -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="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">
|
<div class="product-image-hb p-sm-3 p-1">
|
||||||
<a href="{{ adv.detail_url }}" class="imgs" id="{{ adv.id }}">
|
<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="">
|
<img src="{{ photo }}" class="product-image-in ads-img img-{{ adv.id ~ '-' ~ key }}" alt="">
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user