This commit is contained in:
2023-10-06 18:00:54 +03:00
parent 21b873c80d
commit 67a51c882a
10 changed files with 494 additions and 54 deletions

View File

@@ -0,0 +1,16 @@
{% load static %}
{% if from_el and forloop.counter > from_el %}
<div class="news_item_pagination">
<div class="pag_news_img"><img src="{{ MEDIA_URL }}{{ art.picture }}" /></div>
<div class="pag_news_item_text">
<div class="news_header">{{ art.name }}</div>
<div class="news_description">
{{ art.description|truncatechars:400 }}
{# <div class="news_gradient"></div>#}
</div>
</div>
<div class="clear_both"></div>
</div>
{% endif %}